Please clean up the mass air flow sensor, or check if the sensor is good. You can buy a cheap one from Amazon. I'm a specialist to fix Check Engine Light.
Good Luck.