Hi,
Check if the [https://www.searspartsdirect.com/product/2xl4cupedb-0026-464/id-306604|thermal fuse] has operated. ([https://www.searspartsdirect.com/model/5bdmrp318j-003048/maytag-lde8604ace-dryer-parts|part #10 - motor drive parts diagram])
If the fuse has blown it will have to be replaced.
Be aware that there is always a reason why a fuse may blow e.g. if the hi-limit thermostat is faulty and allows the dryer to get too hot then the thermal fuse will operate to prevent a fire from occurring. I’m not suggesting that there is a problem with the thermostat, just that the thermal fuse is the backstop in case anything goes wrong.