I do not have the wiring dia , but the common problem with the motor is just clean and refix . 50% of the time it works.
It is almost similar to wiper motor - engaging and disengage the transfer case.
Prior to that check if you get power supply to the socket
. I hope it will. In that case its just the motor side that need to be sorted out