Police have charged two men with breaking into a Holmes Street resident’s home and threatening to kill him and others in the house in an incident that officers said may have stemmed from a drug transaction. According to police, Sergeant Raymond Orr and other officers responded to the report of a home invasion last Sunday. Two men had fled the scene before officers arrived, but Orr recognized the description of one of the men’s vehicles as a car that he had seen while responding to the call. After Orr said he knew that the vehicle’s owner lived on Pine City Road, officers went to the house and found the two men suspected of the home invasion, police said. Witnesses identified the suspects as the men who had entered the home, assaulted and threatened to kill the male resident, threatened to kill everyone else in the house, and punched a woman before leaving. Police said they believed the home invasion was a retaliation from a previous fight that may have had to do with a drug sale. They charged the two suspects — Scott Foster, 51, of Pine City Road, and Matthew Cohen, 39, of Channing Court in Plymouth — with home invasion, conspiracy to commit home invasion, assault and battery, armed assault in a dwelling, and threats to commit murder. Police also charged Foster with possession of cocaine with intent to distribute and improper storage of a gun, after a search of the suspects’ vehicles allegedly turned up a significant amount of cocaine and unsecured firearms. A police dispatcher said the men were arraigned on the charges in Wareham District Court on Monday.