I'm having a similar problem with my '92 Ranger 4X4, and I can say with certainty that my problem is not involving the shift motor (already tried a new one, which didn't solve the problem). I've been diagnosing the electronics further and find that I have no continuity from the neutral safety switch (I have an automatic) to the 4X4 control module. I still have some more tracing to do to see if I can find out why the neutral safety switch isn't sending a signal to the control module. I don't think it's the switch itself, because the truck will not start in anything but park or neutral. Probably a bad wire or connection. On you're truck, you might want to look at whether the signal from the clutch is reaching the module.