When a mass air flow sensor problem occurs, resulting in a loss of power or hesitation on acceleration, the Check Engine Light will illuminate, perhaps indicating random cylinder misfire. The mass air flow sensor may respond to cleaning, but replacement of the sensor is best.