What do you mean by overheating is it stopping the dryer. What are the symptoms.
OR
Is it just that you have heat on the air only setting
There is a chance that your heater element is shorting to the case/frame but could also be your temp switch, timer or a thermostat
Will need a Model Number |