Chances are there is a problem with the 4wd actuator on the transfer case. Check to see if it is getting power. If it is, remove it to make sure it is working. If it isn't replace it. Also, check wiring at plug. There is also a relay for the circuit. It is under the hood in the power distribution block. Check it too.