No point asking a question like this unless you put all the details. What make & model dryer? So many different ones on the market with different parts & wires. Why do you ask about the thermostat breaking? Has it failed before? Give some history & detail.
Lincoln Appliance NZ, October 2008