Johnson & Johnson's Janssen Pharmaceuticals and three other drug companies have agreed to move forward on a $26 billion global opioid settlement, the second largest multistate agreement in U.S. history.