To replace the switch you have to disconnect all the wiring and take out the cooktop. Open up the bottom support case to take the switch out. The switch cannot be taken out from the top.
It was much harder than I thought. Put the new switch in and the fan was working again.