Magnum head swap in factory ECU 2003 5.9 engine? Any Codes/EGR?

You shouldn’t have any trouble with codes unless the heads have valve seating troubles. The stock magnum EGR feeds from the exhaust manifolds to an EGR valve in the kegger manifold via a stainless steel tube. The biggest issues I know of are first off finding a set of magnum heads available anywhere right now, unless things have changed this month. And if you do find them new, you’re better off getting bare castings and having them worked by someone who you know that does good work. The most common issues I knew of were seat concentricity and guide to valve clearance but everything (including valve material quality) is suspect on most aftermarket assembled heads.
exactly what I needed to know. thank you. I didn't want to over-complicate my original question.

I have a line on a 2003 5.9 Dakota with a cracked head, into the water jacket. I also have a set of edelbrock magnum heads. I also live in an E-check county. So, I really have no plans of hot rodding this truck. I want to swap heads. do NOTHING else besides gaskets, not have to tune it, and have the factory emissions remain in tact, and the factory EGR work. I'm familiar with how TBI chevys have a port right into a combustion chamber, and how vortec chevys have the tube coming off the exhaust manifold, like you described on the magnum, and how fords have a long hole drilled into the end of the head. I had no idea what magnum mopars had for EGR, and I don't have the truck yet. so short of looking for factory diagrams of EGR path, thought you fellas may be able to help, and you did. thank you!