short on 2004 GMC Sierra 1500

When the engine is turned off and on again the 4WD switch goes into different modes. What causes this?

The 4WD switch is new and the old one still works and is not the problem. The 4WD motor still works. Help please!!!

Asked by for the 2004 GMC Sierra 1500