I don't have any diagrams handy on my computer, but the electric shift motor is bolted onto the back of the transfer case.
Here's a link I found on Google...looks like the same diagram as the factory service manual. The motor is shown as part #72.
http://www.drivetrain.com/bw4406tran...#Illsustration
I don't have a wiring diagram for this circuit on my '97 either...I need to copy that from the service manual next time I borrow one.
On my truck, I can't hear the shift motor run when doing the 2hi-->4hi shift or back either. Only thing I can hear is the solenoids on the engine firewall that engage the front hubs clicking during that shift. When shifting to 4lo and back, I can hear the clunk as the low-range gearset is shifted in quite well though.
You can try shifting the switch from 2hi to 4hi, then unbolt the shift motor (3 10mm head bolts) from the transfer case and check what position the shifting cam shaft is in (it's part #77 in the above diagram). This shaft has a kind of keyed end that looks like an arrowhead so it can only go back on one way. The transfer case has marking on it for 2hi, 4hi, 4lo that the arrow points to when it is shifted into each position.
On the rear of the shift motor assembly, there is a blue plastic plate plate with several wires...this is the position feedback switch I mentioned. I don't believe that's a separately serviceable part, it's replaced with the whole shift motor as an assembly.
It's possible that you've also got a damaged wire from the 4hi contact on that switch or possibly a bad shifting switch on the dash too...I've personally never seen that switch go bad, but I suppose it is possible. I would suspect that it is working though since you can shift into 4lo.
Hope this helps!