if you used your signal lights then you are not swerving and you can contest.
if you do not 'cut' through several lanes in a flash then you are not swerving and you can contest.
if they say you are obstructing traffic you can contest that they are the one obstructing the traffic by making up false violations.
remember get their names and be confident. ^^,m