You're likely thinking of The French Connection (1971).
In a famous scene, Detective Jimmy "Popeye" Doyle (Gene Hackman) is shot with an arrow by a sniper during the elevated train chase. The arrow strikes his shoulder/neck area—he rips it out and keeps pursuing. It's a visceral, iconic moment in the Oscar-winning thriller.