GE dryer shutting off suddenly

My GE electric dryer (not sure about the exact age) has started shuuting off suddnly a few minutes after the cycle starts. It will start to tumble, heat up, and then just stop. No tumble, no heat, nothing. If I restart it the same thing happens. Could this be an issue with a thermostat or some kind of other switch?