Maytag Dryer doesnt work

The dryer stopped working.Power is ok,240 V ,reaching the dryer.The timer is working when plugged in.the light will not come on when door opened nothing else works eather.
Can it be the door/light switch?

Thanks

Here are your parts
Replacement parts for MAYTAG PYE4500AYW | AppliancePartsPros.com

Looks like it is all screwed up as it shows a wiring diagram for a gas unit and yet your Model Number indicates you have a electric. So here is a parts breakdown for a PYE4558. The wiring diagram should be close to yours.
Replacement parts for MAYTAG PYE4558AYW | AppliancePartsPros.com

Could be the door switch but more likely the thermal fuse is blown.
It is mounted on the heater assembly. See Item 5 in Section 5 Heater.
Note it comes with a new hi-limit thermostat. The reason is that the hi-limit should have regulated the temperature so that the fuse did not blow, therefore you replace them as a matched set.

If it is blown make sure your blower is clean and attached to the motor OK.
Also clean/check your vent system.

I followed DENMAN’S advise.
I replaced the Thermal and High limit fuses.Cleaned the lint from the blower and filter areas and it works like new.

Thank you