Un plugged the wires from the switch and do not
Mmmm... that's a little more complicated. If you have a continuity / resistance meter, we can noodle it out, though.
First, are the two white wires the ONLY wires coming from the motor? I suspect they are - that's not in conformance with any accepted color code, but it'll work. For the rest of this, I'll assume that the two white wires are the only ones from the motor.
You'll need to meter the switch itself, with no wires connected to it. In the OFF position, you shouldn't find continuity between any of the four switch contacts. In the ON position, you should find continuity between two pairs of contacts.
The black wire from the power cord should go to ONE of the two switch contacts in a pair that have continuity with the switch turned ON. One (either) of the white wires from the motor should go to the other switch contact IN THAT PAIR.
That leaves you with one more pair that has continuity with the switch turned ON. The white wire from the power cord goes to one of those, and the second white wire from the motor goes to the other one.
When you have it all wired up, plug it in & turn it on. If it's not right, it should immediately pop your circuit breaker. If it IS right, it should run fine.
If it pops your circuit breaker, open it back up and swap one wire from the power cord and one wire from the motor.
on Oct 06, 2019