Hang 'Em High (1968)

Trailer
A band of vigilantes catch Jed Cooper and, incorrectly believing him guilty of cattle rustling and murder, hang him and leave him for dead. But he doesn't die. He returns to his former profession of lawman to hunt down his lynchers and bring them to justice.