The cam sensor: you need a analog (with a needle) voltmeter set to the 15V DC scale.
Leave sensor hooked up/plugged into harness.
Connect the (+) lead to the sensor output wire (tan/yelow - pin out #24) & the (-) lead to the sensor ground (black/blue Pin# 4).
Remove the dist. cap & rotate the engine until the rotor is at the 11 o'clock position. The moveable pulse ring should be within the sensor pickup.
Turn on the ignition. The volt meter should read approx 5V. If not, check for voltage on the supply wire (orange - Pin # 7)
a double check is to crank the engine & watch the needle fluctuate. If it does not-- replace the cam position sensor ([NAPA]pn: 56027023)
Gotta love owning a FSM (1995 XJ & YJ)

I hope this helps!