Wow. That's a huge question. I suggest you pick up a shop manual and read the procedure. Replacing a head gasket on a SOHC 4.0L is an big, big job and the head may very likely be warped, requiring machining or replacement. If you're doing the passenger side head you may be looking at needing to pull the engine out of the vehicle (not 100% sure about this) due to the location of the passenger side timing chain components.
IMO this much work and money is not worth it on a 21 year old vehicle/engine.