Unplug your dryer from the outlet and remove the back panel with a screwdriver.
Pull the heating element wires away from the vertical can that holds the element with needle nose pliers. Remove the two screws from each side of the heating element and pull it out. Use the screwdriver to remove the thermostat from the old heating element.
Attach the thermostat onto the new heating element and screw it into place. Attach your wires from the new element to the vertical can.
Place the rear panel back onto the dryer and attach it with the screws. Plug the dryer into the outlet and test it to see if it is heating up and operating properly.