Before replacing a Mass Airflow sensor, it's a good idea to test it. Depending on the engine size, the MAF's PID value should be between 2 to 7 grams/second and between 15 to 25 grams/s at 2500rpm.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.