Is your fan in a stand alone vent hood or incorporated in a microwave? Did you check the wires at the switch and at the fan? May have had one come loose. The fan is 12 volt if it is in a vent hood. You might also have a bad fan motor. I'm betting a loose wire. Your rig should be under warranty so if you don't find anything make the call.
Peace
Dave