5020004 in words is written as :

Five Million Twenty Thousand Four