I was going to say a fuel prime wire but that is to damn long so I will say it may be a power wire or auxiliary wire that travel to the back for battery charging or brake controller on trailer connection. Almost positive it is a power supply wire for trailer connector.
I looked under the vehicle and sure enough it looks like it goes into the harness shroud going to the rear of the vehicle. I bet its for the Light bar that was on the roof.