I just fixed the same problem on the same truck. There is a sensor on the transfer case that's bad. The parts about 75$ at the dealership and takes about 20 minutes to fix.
Is this it ?
The only thing necessary for the triumph of evil is that good men do nothing.