service 4wd light comes on intermidently on 2000 Chevrolet Silverado 1500

was diagnosed and told the 4wd mode switch was faulty. It does shift to 4wd and works properly what i need to know is that the switch in the dash that changes the modes itself

1 answer
yes, the 4wd mode switch is the one on the dash it controls the transfer case shift motor.