To drive a 4 wire stepper you need to drive it with 4 pins to an h-bridge or the easy way feed 2 pins to step and direction of a stepper driver ic or driver board such as dvr8825
.
.