It sounds like your accumulator. With key off, pump pedal 10 times medium hard to drain pressure off. Turn key on. Time pump up time. If 15 seconds or less then motor/pump is good. If longer then bad. Assuming good see how many pumps you get between motor cycles. Should be 2 medium brake applies or more. If it comes on nearly every time and light comes on then the accumulator is bad.