oh its gonna work just fine, ( will fit too) theres a few parts you need to reuse from your old engine, the tb and maf sensor is one of them for sure. if any other plugs dont fit to the sensor in question, re use the one from your old engine, not to hard a deal really.
the new engine will have a al pan, people upgrade to that, no big deal to make that work right. aka should drop in place like the old one.
this is a good time to replace the engine and tranny mounts. get a new plugs and wires, install the tune up parts dead last. aka dont be slick and install the plugs while the engines out still. thats a fail waiting to happen.