The codes you list should not be causing the light problem. I would be inclined to suggest you have a bum alternator which is intermittently acting up.

Other than that, I believe those codes are related to the O2 sensors.

Good Luck,
Michael