Four drug companies have reached a settlement at the last minute to avoid a trial here seeking to blame them for fueling the opioid crisis, according to people familiar with the matter. Details of the settlements with McKesson Corp. , Cardinal Health Inc., AmerisourceBergen Corp. and Teva Pharmaceutical Industries Ltd. will be announced Monday morning, the people said.