Car surges going uphill, causing check engine light to come on. Is it the MAF? on 1999 Pontiac Grand Prix

Should the MAF be replaced? How much does it cost?

1 answer
possible MAF. should also consider exhaust system. run diagnostic.