i would say that you have a vacuum leak on the intake after the maf, unmetered air is bad. I would also check the maf sensor harness and make sure it wasn't damaged and check that the maf has a proper ground. you can read up oin this at www.se-r.net.
Brent Meints
Brent Meints