Good way to rule out the MAF sensor is to unplug it. If it runs fine then its the MAF.

Also...do what the green guy said...check all the vacuum lines. Dry rot is a common issue with the rubber "T" fittings around the S/C, Fuel Rails, LIM, and MAP Sensor.