Yes, the plug and wire from Lowe's will work. Also, get a strain relief connector that will screw into the thread at the back of the motor meant for round cord.
https://www.lowes.com/pd/Sigma-Electric-ProConnex-1-2-in-Cord-Grip-Connector-Conduit-Fitting/3150211