XJ ABS is IMO not a big deal. Mine has been disabled for +15 years.
Any 1987-2001 XJ Cherokee 4.0 L engine block or 1993-98 ZJ Grand Cherokee 4.0 L engine block will interchange.
Remove and re-use ( or replace with new ) as needed or required from your original engine: Intake/Exhaust manifolds, motor mounts, throttle body, fuel injector rail, flex plate/flywheel, cylinder head, water pump, distributor-less ignition or distributor assembly, OBD engine computer sensors, fan belt driven accessories, and/or mounting brackets.
If your 2000-2001 XJ Cherokee has a cracked 0331 head, buy a good used redesigned and more durable TUPY 0331 head from a 2002+ 4.0L TJ Wrangler or WJ Grand Cherokee.* The 0331 head up through mid-2001 was fit only for scrap - look for a replacement with the TUPY foundry mark under the oil fill cap, this is the revised head that will last. Available late 2001-2006, this TUPY 0331 can be retrofitted in place of an early 0331 head without difficulty.