Circuit for auto repeat switch off/on USB Data-
At work, I've been using a programmable USB hub from Acroname to switch USB device(s) on and off using Python scripts. Apparently this hub is an off the shelf hub but pretty new (and a little expensive), and it has been very reliable for me in the lab. Not quite the discrete solution you are suggesting here, and certainly more expensive... but at work, I was looking at automating this switching and a programmable hub was a very convenient and timely find for me.