The UAE offers two transit visas, both of which have to be applied for through your airline. They're valid for 48 hours(free), or 96 hours(AED50). They're not renewable or extendable.
Based on your itinerary above, you won't have a valid visa for your trip. Most likely, you'll be denied boarding by your airline.
If you do get to the UAE you could be denied entry, in which case you'll be returned to your point of departure, or if that's not possible, sent to some country that will accept you.
If you are allowed to enter, you'll probably be stopped by immigration as you leave for overstaying your visa.
I'm sure you don't want any of that to happen. Change your flight(s) or get your travel agent to apply for an appropriate visa or entry permit.
Note: You haven't given any details of your nationality, nor where you're flying from or to. You might be eligible for a visa on arrival which is valid for 14 days. More details here