An opioid manufacturer has agreed to pay $225 million to resolve federal investigations into allegations that it paid kickbacks and used other illegal marketing tactics to sell a powerful fentanyl spray, authorities said Wednesday.