Just to clarify a bit, switch on the front axle operates a ground circuit. The bulb in the cluster always receives a 12V ignition power source, and the axle switch grounds the bulb when in 4WD.
But yes, jumping the terminals will tell if there is a problem with the switch.