Usually a surge is a lot of air getting into the vacuum lines.
Start at Clarks Trouble Shooting page and then the AFM information for ideas:
Troubleshooting - Engine
It is real easy to have a hose come off under the manifold when replaced.
Were the AOS seals replaced?
Did you replace the rear hose to the ISV? The short hidden one under the intake.
New injector gaskets and FPR "O" ring? (Same as bottom injector fat "O" ring)
Under the air intake boot is a plastic vacuum line connection---gets brittle and cracks easy.
Check all hoses and clamps for tight connections.
EDIT--Remove the AFM connection and check the pins. Clean and make sure the connection is tight.
GL
J_AZ