Here is the datasheet for the NEMA 17 62 oz-in stepping motor. If you connect this to a standard bipolar driver, you will not use the yellow or white wires that are at the midpoint of each coil if they exist on the motor that you received. The black wire connects to A+, the green wire connects to A-, the red wire connects to B+ and the blue wire connects to B-.
The motor has a 5mm shaft. Please see image for housing and frame dimensions.
Electrical and Mechanical Characteristics:
Current/Phase: 1.68 A
Voltage: 2.8 V
Resistance/Phase: 1.65 ohms
Inductance/Phase: 2.8 h
Holding Torque: 62 oz-in or 4400 g-cm.
Rotor Inertia: 68 g-cm2
Weight 0.35 Kg
Length: 47 mm