Check this first
Look for a loose or split air intake hose between the filter box and the engine, and a dirty air filter.
What usually fixes it
In the order a good shop checks them. Typical total: $52–$418 at $130 an hour.
Clean the air flow sensor
$52–$85Dust and oil film on the sensor wire make it under-read.
Air filter and intake hose
$87–$218A split hose lets in air the sensor never measured.
Mass air flow sensor
$112–$401The sensor drifts with age and can't be cleaned back.
Code titles are the generic SAE definitions. Prices are typical US parts and labor for a common car or light truck – a guide for judging a quote, not a quote. Always confirm a repair against the vehicle in front of you.