Just heard back from my mechanic. That tapping noise in my '04 LJ's engine is the bottom end.
He suggests a Jasper re-man engine. The rest of the Jeep is in pretty decent shape, so I'm definitely considering it.
Unless someone has a low mileage 4.0 to part with.