5020023 in words is written as :

Five Million Twenty Thousand Twenty Three