Here's how I would approach that.
1 - Slide under front of the truck, locate the free wheel air pump - it's behind the front bumper on the right side - and follow the connection from the pump to where it enters the underside of the front differential - make sure it hasn't pulled off.
2 - Whilst you're under there - find the 4WD switch in the top of the transfer case (near the shift lever) and make sure it is still connected - this may have broken because of the body lift.
3 - With the engine off, put the transfer case lever in 4HI, slide under and grab the front drive shaft & try to turn it - you should not be able to - this checks that the transfer case is selecting 4WD.
4 - With the transfer case still in 4HI, switch the ignition on (do not start engine), listen to see if you hear it (the pump) running - it should run for anywhere from 1~10 seconds. You can either switch the ignition off & on, or shift from 4HI to 2HI and back to repeat the test.
If you hear it run for 1~2 seconds, your 4WD is probably working and there is a problem with the 4WD indicator.
If you hear it (the pump) running and it runs for 10 seconds, disconnect the rubber line that feeds into the bottom of the front differential and plug it (do this on where the short piece of hose leaves the pump and connects to a metal pipe near the fram rail) and repeat step #2, if the light comes on now you most likely have a problem with the actuator in the front differential. If the pump still runs for 10 seconds before stopping, you probably have a defective pump module.
If you do not hear the pump run, disconnect the 3 pin connector and connect a 12V light between the black & red wires and repeat step #2 - the light should come on for 10 seconds (you could do this with a meter, look for 12V).
If the light comes on for 10 seconds, you most likely have a problem in the pump module.
If the light does not come on, disconnect the wire to the 4WD switch and short it to the body - and check the light again - if it still does not light you're looking at a broken wire or possible bad ECU/4WD controller.
If the pump module is defective, it may be repairable -
here's my tear down thread - this is a GV pump, but the early XL-7 used the same setup.
Edited for clarity