Ok 1st gen on the 6.4 is 2011+ correct?
If so, it’s not difficult at all. I’m In the middle of swapping in one from a 2014 SRT Jeep to my 2014 RAM single cab.
The blocks are virtually the same. Not sure if you have a short block, long block, or complete engine, but I know the heads are different. I have seen a write up where a guy used the 5.7 heads on a 6.4, but I think he had to block of some of the water jackets. Besides the heads, every other thing on your 5.7 will bolt directly to the 6.4, and the 6.4 drops in and bolts directly to your transmission.
One thing to look for is make sure your torque converter fits the crank on the 6.4. I dropped mine in and couldn’t get it to bolt up. When I pulled it back out I learned the crank had a pilot bearing for the previous vehicle and had to remove it. Once that was done it slide together with the transmission perfectly.
While the intake on the 5.7 and 6.4 are different, they will directly bolt up on either/or but the 6.4 intake requires an extension for the wiring harness that can be found at Moe’s for under $100
You will 100% need a custom tuner get the PCM working correctly but besides that it’s a pretty dang easy swap!