Your dashboard lights go off and on in your 2002 corolla when you hit a bump or hit the dashbaord hard?
If you have multiple bulbs going on and off, then you most
likely have a wiring problem. The main plug on the wiring harness
behind the dash could be loose. Look for other loose connections. I
believe bulbs are LED so I don't think they would act up that way.
You may need to remove the dash. That is not so much fun as it
sounds. Perhaps a shop that specializes in electrical issues may be
worth the investment. The Corolla is a great car and worth keeping
in good repair. ---zlladlo