If your too hot, remove one of the thermostat connections from the furnace.
Dis connecting "R or W" will show you that it's a thermostat or thermostat wire circuit problem if the burners then shut down..
If it's just the fan that won't stop, then a overheating furnace with a tripped limit is a common cause. Dirty filters?
Thermostat fan control on or shorting?