Headlight flicker on my 2000 S10 ZR2

Usually when lights flicker on a vehicle it means one of two things. Either the brushes and springs in the alternator are worn where the brush leads are now in contact with the slip rings, or a diode in the alternator is failing. In either case the alternator probably requires replacing.

As far as the gas guage? It sounds more like there’s a problem with the sending unit in the tank.

Tester