While drivin the radio going off and on then lights dim went out, car died. on 1995 Buick Century

I've been detecting a mis/hesitation thought maybe it was the transmission. Also the headlights brighten when I accelerate. Just replaced the headlight switch on the dash.

Asked by for the 1995 Buick Century