Idiot Oil Light

I bet a whole dollar there's sludge 1/2" deep or more in the bottom of the pan. When you brake hard, what "little" oil getting in the pickup rushes to the front of the pan and it sucks air cutting the light on.
No sludge, I changed the oil pan gasket when I bought the car. It was leaking. The light doesnt flicker or even come on except right when I start it and if I brake hard. Thanks for all the help. I get a gauge on it and see what's up.