So when it stops running after a few minutes, can you immediately restart it? Or do you have to wait for the motor to cool down? Also when you start the dryer does the motor sound like its grinding before it starts running?
I'd first unplug the dryer from the wall outlet, then take the drum out of your dryer to get access to your motor, then check to see if you have lint build-up on the motor itself, because I have seen lint build-up on the motor and the motor can not breathe, thus the motor overheats and shuts down.
Here's the motor for your model below and the video of how to access/replace the motor.