electric problem on 1996 Isuzu Trooper

I can drive my trooper sometimes and dashlights flash and after that i can come to a complete stop and my transmission never downshifted to first gear to start i can shut the motor off and start back and it will downshift like normal until the lights flash

Asked by for the 1996 Isuzu Trooper