I had the same issue a long time ago.
I'd go over a bump, lights out, another bump lights on, turn the bars, lights out...
There are a few connectors in the loom leading from the bars down and around the the tripple trees.
Some of the contacts in them were starting to corrode.
Cleaned and acf50'd and never gave me any more issues.