Here is the vacuum diagram for B18B1 engines:
Swap the recently installed parts (hoses, sensors etc.). Obviously don't get rid of the old engine. Once you start the car you may encounter unexpected performance issues that would yield switching additional components from the old engine.
First off, before installing the replacement engine, I would remove the oil pan to inspect it for potential internal engine failure (rod bearings etc.). If you simply drain the oil, you would not be able to tell since metal particles now rest at the very bottom of oil pan and are not going to come-out on their own. You will need to install new oil pan gasket and use liquid gasket in (4) separate areas to re-install the oil pan. But prior to re-installing the oil pan, it would be wise to look at cylinder walls by rotating the crankshaft by hand (19mm socket) counterclockwise rotation. You would look for signs of deep rust. You should be able to complete the 360 degree rotation without problems. If it doesn't rotate, the engine is ceased. You will experience resistance during the rotation if the spark plugs are installed. And that's a good sign, but you should be able to overcome the resistance w/o a use of power tools, breaker bar etc. If everything is good than the engine should be good. Once you install it on the car, run a compression test to confirm that the piston rings are healthy and the valve are properly sealing.
Here is the list of things you should consider replacing while the engine is off the car:
1. Valve cover gasket set (spark plug seals, cam seals, cam cap), especially if you see signs of an oil leak around valve cover. Also adjust the valves while the valve cover is off and inspect the valve train for any visual damage.
2. Distributor o-ring (located behind the distributor)
3. Distributor cap and rotor
4. Spark plugs
5. Spark plug wires
6. PCV valve
8. Pilot bearing
9. Throw-out bearing
10. Rear main seal
11. Oil pump seal
12. Water pump
13. Timing belt
14. All hoses (I may be missing few things)
Let us know if you need additional advise. Goodluck!