So something is incorrect. You could put a jumper tying neutral and ground together and it wouldnt trip a GFCI if the hot line is off/not connected to anything.
Something is letting hot current pass to another wire. Either the switch is faulty, mis-wired, there is a intermittent break in one of the lines, the incoming wire to the outlet is mixed up, or something. But as it sits, something is incorrect leading hot to be live when you think it isn't (switch off). So you need to figure that out first, then diagnose the motor afterwards. The motor has issues that are revealing the problem with the switch, not that the motor is the only issue.
The easiest way is the outlet tester
@PCustoms mentioned above (they are under $20). You could also probe with a meter carefully if you need to to diagnose. But either way, you should fix the wiring first.