I believe unplug it and see if it then switches off. If it does then the switch is at fault.
Not sure what you mean by unplug it and see if it still runs? I cant see how it *would* run without power...i havent looked yet but i assume there is a temperature sensor its connected to and you mean unplug the electrics to that?
on some models there is a fan after-run switch onm the inlet somewhere, which brings the fan on if the engine bay temps get too high. if