4.7 engine swap?

They are prone to sludge because the factory runs the cylinder head temp higher for emissions. You see when they design an engine they need to make it for at least 10 years to recoup the cost of development. So they run the cylinder head temp up so it will be able to meet emissions at least 10 years down the road.

Having said that if you change the oil religously at 3K miles and/or use synthetic oil you'll be fine but otherwise there isn't much incentive to swap this engine into anything it didn't already come in. No aftermarket support, small cubic inches, you'll have to convert to the fuel injection, it's just a mess and not worth the hassle. Swap a Hemi in though and that is well worth it. Plenty of aftermarket support, you can run a carb or injection and there are plenty of aftermarket electronics available for retrofit.

AMEN- What he said!
problem being is -you don't know how the last owner treated the engine. Maybe he did religiously change the oil or maybe not. Roll the dice but it's expensive. I hope we didn't squash your hopes- just trying to give you good solid advice! Good luck on what you decide:)