To be certain, you'd need to:
* Compare engine part numbers: This is the most reliable way to determine compatibility. Find the engine code stamped on both engines.
* Check the wiring harnesses: The connectors and routing may differ slightly.
* Inspect mounting points: Verify that the engine mounts and other attachment points are identical.
It's *possible* it'll fit, but it's not a given. Assuming the engines are the same displacement and type (e.g., both 4.6L V8s), you might get away with it, but you should be prepared for potential complications like needing to adapt parts or rewire things. Consult a mechanic or a parts professional specializing in these models to confirm before attempting the swap.