Toggling the switch is resetting the power to the circuit board which is locking out because of a fault. Post the brand name and model and serial # here. There should be a viewing window in the furnace door, look in and you will see a flashing LED which gives an error code. Code should be on the back of one of the doors.