A lot of things can cause this problem, you will need a meter, while the unit is running check power to the motor at the control board, when it shuts off was the power interrupted, if not and the power stays constant the motor itself may be overheating. Normally when the motor is the cause a louder than normal noise can be heard coming from the motor on initial start up. Thermistors and thermal fuses will not cause it to shut off then allow it to be started again. When the dryer stops can you restart it right away? Or do you have to wait ten minutes, if you have to wait chances are its the motor.