318 vs 360 opinion

The Magnum trucks will often "feel" different based on the calibration it's running in factory truck applications. Check the PCM and around the engine compartment on the 5.2 Magnum trucks, looking for a campaign label saying a dealer recalibrated it at some point. If the label is present, you likely have the Magnum "death flash" that takes away a fair amount of power and fuel economy because they were compensating for some of the common issues. If so, an aftermarket tune will level the playing the field quite a bit. A good 5.2 Magnum without the death flash will often feel much closer to a 5.9.

I am assuming original post was about a carbureted engine. And if it were me and I was sure it was an internal noise, I would tear down and inspect it. As others stated, if the bores are still good shape, most everything else can be fixed fairly cheap.
I've had a few of these Rams, including one with the Mopar performance computer requiring premium fuel. The 5.9 trucks still had a noticeable power increase, mostly bottom end torque. Also, I thought the 5.2 trucks had a hotter cam and tune from the factory than the 5.9 came with? My 5.9 trucks got a little better mileage as well because the engine wasn't struggling as much as the 5.2 truck. At the end of the day, they are both great engines.