1998 Jeep Cherokee 4WD 4.0L MFI 6cyl
To avoid confusion, tag and remove the spark plug wires one at a time, for replacement.
If a distributor is not keyed for installation with only one
orientation, it could have been removed previously and rewired. The
resultant wiring would hold the correct firing order, but could change
the relative placement of the plug towers in relation to the engine.
For this reason it is imperative that you label all wires before
disconnecting any of them. Also, before removal, compare the current
wiring with the accompanying illustrations. If the current wiring does
not match, make notes to reflect how your engine is wired.Fig. 1: The firing order can usually be found cast onto the intake manifold
Fig.: 1989-98 2.5L engine Engine firing order: 1-3-4-2 Distributor rotation: Clockwise
Fig.: 2.8L engine Engine firing order: 1-2-3-4-5-6 Distributor rotation: Clockwise
Fig.: 4.0L engine Engine firing order: 1-5-3-6-2-4 Distributor rotation: Clockwise
Fig.: 5.2L and 5.9L engines Engine firing order: 1-8-4-3-6-5-7-2 Distributor rotation: Clockwise
Also, here can review the Jeep XJ Service Manual
I hope help you with this, Good luck (remember rated this help).