The Bravados

Joan Collins and Gregory Peck in a scene from the film.
Jim Douglas (Gregory Peck) is a rancher pursuing four outlaws after the murder of his wife six months before. He rides into Rio Arriba, where four men, Alfonso Parral (Lee Van Cleef), Bill Zachary (Stephen Boyd), Ed Taylor (Albert Salmi) and Lujan (Henry Silva), are in jail awaiting execution. Sheriff Eloy Sanchez (Herbert Rudley) allows Douglas to see the men.
In town, Douglas meets Josefa Velarde (Joan Collins) whom he met five years previously in New Orleans. She has been looking after her late father's ranch. Douglas reveals he has a daughter (Maria Garcia Fletcher). Other townspeople include Gus Steimmetz, his daughter Emma (Kathleen Gallant) and her fiance (Barry Coe).
The executioner, Simms, arrives, and aside from a brief drink with Douglas, seems to show little interest in socializing or advance planning for his task. Simms holds off until the town is at church, then, while pretending to evaluate the men he is to hang, stabs the sheriff in the back. The sheriff shoots and kills Simms, but the inmates leave the sheriff unconscious, escape and take Emma as a hostage. The wounded sheriff comes into the church with the news that the prisoners have escaped. A posse rides out immediately, but Douglas waits until morning. The posse is held up at a pass when one of the four fugitives stays behind to cover the pass.
Douglas catches up and corners Parral, who pleads for his life. Douglas kills him, then ropes another outlaw, Taylor, by the feet and hangs him upside-down from a tree. The two remaining fugitives reach the house of John Butler (Gene Evans), a prospector and Douglas's neighbor. Zachary kills Butler, after which Lujan steals a sack of coins Butler had. They see riders approaching and flee, leaving Emma behind. It turn out to be Josefa and Douglas, coming from different directions. The posse also arrives and finds Emma, raped by Zachary, in the house.
Douglas goes back to his ranch to get fresh mounts, but finds that the fugitives have taken his last horses. He leaves Josefa with his daughter. At the Mexican border, Douglas enters a bar, finds Zachary and kills him in a gunfight. He then goes on to the home of the fourth man, Lujan. When shown a photo of his Douglas's murdered wife, Lujan insists he has never seen the woman before. He recalls that he and his companions rode past the ranch. Douglas points to Lujan's sack and states that the men who killed his wife stole it, which contained the family's life savings. Lujan explains that he took the bag from Butler's dead hand, whereupon Douglas realizes that it was Butler who killed his wife.
Knowing now the four men he pursued had nothing to do with his wife's death, Douglas realizes that he is no better than they were, having killed in cold blood. He returns to town and goes to the church to beg forgiveness. The priest (Andrew Duggan) says that Douglas did what he felt was right and should take refuge in the fact that they were outlaws anyway. Josefa arrives with Douglas's daughter, and they exit the church together.

Question: What work does Jim Douglas (Gregory Peck)do?
Answer: Jim Douglas (Gregory Peck) is a rancher