I don't know about the name of the part you're talking about, but I'm 99% sure that the 4WD indicator light on a YJ is activated by the vacuum shift motor. If you look at the passenger axle tube you'll see the motor with a few vacuum hoses hooked to it and a pair of wires for the indicator light.
__________________
Jeff
|