Electrical interference is defiantly the issue. I had the exact same problem.
#1 - The stock USB cable is not great. Replace it with one that have a ferrite core on the ends. Note that this needs to be a decent cable, if its a clip over core its completely useless, USB cables are braided and a core over the braid is a marketing joke. If the core is a molded part of the cable you are good. Please not that ANY USB cable longer than 2M is good practice to have a ferrite choke built in. Future Maslow motherboards should follow EMC testing recommendations such as this HERE.
#2 - Shop Vac’s are INSANELY noisy (electrically). My shop vac trips my arc fault breakers in my basements 100% of the time. That means its leaking enough EMI the breaker thinks its arcing and can start a fire. The only way to combat this is to put it on a separate circuit in your garage. Also a thicker gauge electrical cord helps.
#3 - Keep the USB cable away from the router power cable. As long as they are not taped together for a length this is completely negated by #1
#4 - If its a laptop then power savings settings can cause USB stutter, how to disable this is completely dependent on the make, model and OS. The mouse wiggler is a legit solution.