Make sure the connections at the TCCM in the passenger side kick panel are clean and tight, (no corrosion). Make sure the connections at the encoder motor on the transfer case are clean and tight, (no corrosion). Make sure the actuator under the battery has good vacuum to it when 4WD is selected when idling in park. Make sure vacuum at the actuator is immediately released when shifting back to 2WD. Make sure the actuator cable moves freely, (about 3/4") when shifting from 2WD to 4WD, and back to 2WD.