You will need to strip your new engine down to the long block, swap all sensors, and such. If you old one blew up and broke things in the top end you will need a new intake manifold too. I'd also closely inspect the injectors for debris or damage from shrapnel.
Other than that, they are pretty much the same engine.