Negligence is defined as an action or inaction which resulted in an injury. Therefore, even if you did not have an actual collision with a motor vehicle, if a driver forced you to make an unsafe move to avoid an even more dangerous one and you suffered an injury, you may have a valid claim.
In these situations, you may need a corroborating witness or traffic or security camera footage to show exactly what happened. If you have this information, or if you lack this information, speak with your lawyer so you know what rights you have under the law to hold the responsible party accountable.