Hello and welcome to just answer Jeep. Here is the procedure for you from the factory service manual.
Hope this answers your question, and if so would you kindly click on the accept button? If you need more help with this let me know.
The camshaft position sensor is located in the distributor Camshaft Position Sensor
Distributor removal is not necessary to remove camshaft position sensor.
I am sorry, I thought you said it was a 1999. Here is the procedure for a 2000 4.0 L
The Camshaft Position Sensor (CMP) on the 4.0L 6 - cylinder engine is bolted to the top of the oil pump drive shaft assembly CMP and Oil Pump Drive Shaft - 4.0L Engine The sensor and drive shaft assembly is located on the right side of the engine near the oil filter CMP Location - 4.0L Engine
The rotational position of oil pump drive determines fuel synchronization only. It does not determine ignition timing.
NOTE: Do not attempt to rotate the oil pump drive to modify ignition timing.
Two different procedures are needed for removal and installation. The first procedure will detail removal and installation of the sensor only. The second procedure will detail removal and installation of the sensor and oil pump drive shaft assembly. The second procedure is to be used if the engine has been disassembled.
An internal oil seal is used in the drive shaft housing that prevents engine oil at the bottom of the sensor. The seal is not serviceable
If the CMP and oil pump drive are to be removed and installed, do not allow engine crankshaft or camshaft to rotate. CMP sensor relationship will be lost.
To verify correct rotational position of oil pump drive, the DRB scan tool must be used.
WARNING: WHEN PERFORMING THE FOLLOWING TEST, THE ENGINE WILL BE RUNNING. BE CAREFUL NOT TO STAND IN LINE WITH THE FAN BLADES OR FAN BELT. DO NOT WEAR LOOSE CLOTHING.
The degree scale on SET SYNC screen of DRB is referring to fuel synchronization only. It is not referring to ignition timing. Because of this, do not attempt to adjust ignition timing using this method. Rotating oil pump drive will have no effect on ignition timing. All ignition timing values are controlled by powertrain control module (PCM)
Hello again, Just checking back to see if the information I sent was helpful. If it was would you please click on the accept button? If you still need help please let me know.