One wire will go to the switch only.

power in-----------------------------------wire---motor-

power in---------switch--------------------wire---motor-

I think also 40rpm for drying might be a little fast. It would be good for applying the thread epoxy, but for drying I think you might want 6-18 rpm motor. Good luck.
If you want pm me and I'll send you a picture of my setup.