Turn signal sometimes works?

I have a 2000 Chevy Impala with a 3.8 and I am getting mixed reviews on how to fix the problem. Basically at complete random doesn’t matter cold hot running or the first start of the day, my turn signal will just turn off or go on for a couple signals the off again on again. The way I fix it is to turn the hazard lights on and off a couple of times and that something and it works again for a while. I went to the dealership to get a new hazard switch (thats what I thought was the problem) and they said it could be 4 or 5 other things and they had to run a diagnostic? Any ideas before they take me to the cleaners?

Make sure all grounds and bulb sockets are good.

Replacing the flasher may cure the problem.

Has to be the flasher tripping.