Have you checked all associated fuses (SJB # 33, 28, 10 & BJB # 27)?
Here's the electrical info:
The Switch works similar to the blower motor resistor bank, switching in different resistance values in series between the four wheel drive control module.
At the Shift motor the connector should have the following wires:
Pin 1 Brown with Yellow stripe, pin 2 Green with Orange stripe, pin 3 White with Orange stripe, pin 4 Brown with Green strip, pin 5 Green with Orange stripe, pin 6 Brown with White stripe, pin 7 Gray with Orange stripe.
Pin 7 = MTR CW
Pin 4 = MTR CCW
Note, pins 4 & 7 appear to alternate between 12V and Ground, controlling direction motor turns (Clock Wise or Counter Clock Wise).
Pin 6 = Position Return. This pin appears to be common to pins 3, 2, 1, and 5 by means of an internal switch within the shift motor housing.
Pin 3 = Position 2
Pin 2 = Position 3
Pin 1 = Position 4
Pin 5 = Position 5
2001 Ranger Edge 3.0 V6, 5 speed M/T
Limited Slip Differential, James Duff Traction Bars
Kumho 30x9.50 15 MT / Black 297 Series 15x7 Rims