Thanks for choosing JustAnswer.
How long has the dryer run before you turned it off (approximately)?
Is the dryer very hot. I mean extremely hot!
I'm guessing that you were also very carefull when you put the wires back on to be sure that they were on the same connections... right?
Try checking the operating thermostat. If this shorts the timer doesn't get the voltage to continue. However, this often leads to very hot dryer and/or another a thermal fuse being blown.