What you experienced is false air, i.e. air entering the intake without being measured by the fuel injection system. Check all the hoses, even the rubber tubes that connect the plenum to the engine. Check that large intake hose first, they do work loose, usually at the AFM/air filter end. If this continues to happen (hose comming loose) check the engine mounts.