OH ok, light years ahead of a 4.2, same reliability as a 4.0, about 130 hp more depending on what engine you use. I am only comparing the to the 5.3 LS block since it is the most readily available and easiest/cheapest to find.
the specs are
4.0 are 180 hp 235 ftlb (and depending on the year they are all a little different)
5.3 (LM7 truck motor) are 300 hp and 325 ftlb
if you can find the L33 5.3 from 05-07, it is an aluminum version of the LM7 and is good for about another 15 hp and 15 ftlb over the LM7. there was also a LM4 which was an aluminum block motor, but are hard to find in wrecking yards.
is it a legal swap, depends on your state and how you execute the swap. In my state (massachusetts) for me to swap to a LSX motor in a jeep, (this is the short list) the motor has to be same year or newer than the vehicle (a 99 motor into a 94 is fine, a 99 motor into a 04 is not legal) if the motor was originally equip with ODBI or II, it must be retained. All smog equipment on the new motor must be retained, can not go from EFI to Carb.
You should, and probably have to re-use the ECM. you can carb an LS motor, but not generally for street applications in a vehicle that was originally equip with EFI. But why go to a carb, you will loose so much of the advantage of the LS motor swap.
Painless, FAST are two manufacturers off the top of my head that make plug and play harnesses for LSX motors.