Sometimes I can spot this before it happens in my rear view mirror, not usually though.
If this was done out of malicious intent by the motorist, lane position would not have made any difference.
There isn't much anyone can do if a motorist rolls up at more than double your speed and cuts it close or worse.
I run video cameras front and rear, with the hope of possibly learning from any mistakes I might have made after an incident occurred.
A few times I have noticed that someone will see the camera and change their behavior.
Also, I tend to avoid Friday afternoon traffic, if possible.