5407023 in words is written as :

Five Million Thousand Twenty Three