I know last summer this happened to me and I ended up replacing the plug in box. It's relatively simple. Watch where you unscrew the wires and screw them back into the same place.
That's all I know about dryers. Except that I am always putting clothes in and taking them out. LOL