motor wont stay running

Yep, bypass the ballast resistor with a short jumper wire and see if it stays running.