Would the 4.7 liter from my 1999 Jeep Grand Cherokee fit in an A body?

The 4.7 is a total POS. No power. No mileage and Daimler bull crap. Don't even think about it.