There is a light in the floor shifter that wires in with the rest of the dash lights (i.e. through the dimmer). Then there is the 4x4 switch in the transfer case. The wiring varies by year, but typically it controls a relay under the dash. This relay does 2 things - disables TCC lockup except in 4th gear and lights the 4x4 light on the dash.