Microwave repair

I have an amana radarange microwave that has the magnetron energized but not the fan whenever the door is closed without using the keypad. Any ideas? Maybe pc board switch? Thanks!