Here are your parts
Replacement parts for WHIRLPOOL MED5600TQ0 29" Electric Dryer | AppliancePartsPros.com
Here is a wiring diagram
I am assuming that the light goes off when you push the door switch.
I have a bit of a problem here as the wiring diagram shows a thermal fusr in line with the motor but the parts does not show one.
If it has one it will be mounted on the blower assembly alonng with the cycling thermostat.