* Mounting: The engine mounts are different. The 5.9L and 4.7L have different block dimensions and weight distribution, requiring different mounting points. You'd likely need custom motor mounts.
* Transmission: The 5.9L likely used a different transmission than the 4.7L. This means you'd need to swap the transmission, driveshaft, and potentially the transfer case (if it's a 4x4). Adapting the transmission to the new engine might require custom parts or significant modification.
* Wiring Harness: The wiring harnesses are completely different. You'll need to adapt the harness, which is a major undertaking and often requires custom wiring work. This includes dealing with the PCM (Powertrain Control Module), which is specific to each engine.
* Exhaust System: The exhaust manifolds and piping will not be compatible. A new exhaust system will be needed.
* Computer/ECU: The engine control unit (ECU) is not interchangeable. You will need to either find a 5.9L ECU or have the ECU programmed to work with the new engine.
* Other Components: Various other components like sensors, brackets, and possibly even the radiator may need to be changed or adapted.
In short, it's a very involved project requiring significant mechanical expertise and fabrication skills. It's far more than a simple engine swap. It's likely cheaper and easier to find a used 5.9L Dakota or stick with a rebuild or replacement of the 4.7L.