Issues with the air fuel sensor (oxygen sensor) can set a Check Engine Light.  A failed sensor will need to be replaced for this repair.