Re: stepper motor
No it will not work, and I hope you do not try it, it will most likely damage the motor. The stepper motor has 5 terminals (usually), 1 ground and 4 coil terminals. The 4 coil terminals must be turned on and off in a sequence to turn the motor.
At a time only one coil must be energized (unless you are microstepping), the other 3 will be off. The next moment, the next coil must be energized and the other 3 must be turned off and so on.
Use a microcontroller along with a ULN ic (darlington buffer) to drive the stepper motor.