bzdel2441 -- you're not in Dallas, TX, are you? I was just looking at one that fits the description you've given so far -- here it is on the web:
http://www.justjeepsoftexas.com/inventory/471.html
If that's the one you're looking at, the dealer told me he THINKS it was rebuilt or replaced, I don't think he knows for certain (I've bought from him before). I don't know whether the engine was rebuilt but -- I have to warn you -- that particular XJ (if it's the same one) is rusted completely through on the bottom, just above the exhaust pipe, primarily under the rear passenger seat but it's rusting all along the exhaust. My opinion is that the engine looks brand new, like a full replacement, among other things it seems to have the sensor-configuration of a '94-'96 XJ or later.
If you are NOT in Dallas, not at the dealership I linked to above, then just ignore what I've written. The advice already given is right on, as to how to determine whether it has been replaced. A rebuilt engine would be hard to tell.