The encoder ring in your transfer case is probably about to go out. Or you are having a wiring issue in that circuit.