Put all the necessary 2000 parts onto the YJ block.
Any 1987-2001 XJ Cherokee 4.0 L engine block, 1993-98 ZJ Grand Cherokee 4.0 L engine block, 1991 to 1995 YJ Wrangler 4.0 L engine block, or 1997-1999 TJ Wrangler 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.
0331 head interchange:
XJ: Cherokees 2000-01
WJ: Grand Cherokee 2002+ (Gen2)
TJ: Wrangler 2002+ (Gen2)