Thank you for your question. I am sorry for the problem with your
Maytag MDG5000aww Gas Dryer
. When a gas dryer runs but does not heat the usual suspect is a bad thermal fuse. My suggestion to you would be to remove the front panel and run the dryer. With the panel off you should be able to confirm if the ignitor is glowing. If the ignitor glows and clicks off but there is no flame then likely the gas valve or gas coils are at fault. The image below shows how to remove the front panel. I hope this helps. You can reply below with any additional details for further assistance. You can also have the problem repaired in your home by a Sears technician. Here is the link:
Sears Home Services Dryer Repair.
Thank you for using Manage My Life.