I just completed a 5.2l Magnum swap last week into my CJ8. Dorf's right about the 4.0l being a better swap than the 3.9l,into the CJ. The V8 swap made more sense to me as my Jeep is pretty heavy and the 4.2l lacked power even with a Howell EFI kit. The 5.2l or 5.9l fit perfectly, and would be an easy swap into a CJ7 if you used a NV4500, NV3500 or a small case torkflite automatic, no adapters or modifications are needed to the t-case. If you try the overdrive automatic, the adapter Dorf mentions would be needed. I used a NV3500 wideratio 5-speed out of a 95 Ram 1500. Use a 95 or earlier EFI setup to avoid OBD2 hassles with smog. I used a combination of stock Jeep V8 CJ brackets and some plate to make the mounts,(Magnum engines only), but if you are a better fabricator, you could adapt the stock Dodge mounts to the framerails easily. The whole swap took 2 weeks, after I gathered all the parts, (2 weekends and evenings after work). The wire harness was the hardest part, but with the help of factory service manuals, a couple of scrap harnesses and alot of patience, it went well. The Jeep has more power than I hoped for, gets the same mileage as before (15mpg) and is much smoother and quieter also. I also sold off the old engine and trans for what I paid for the NV3500 and flywheel at the wrecker! Hope this helps you decide, good luck!