The answer varies depending on the laws of the state. Any engine swap can be done here in California as long as the engine and management are from the same year or newer.

I'd consider swapping the whole thing for a Durango...