Amneal Pharmaceuticals will pay California, New York and four other states more than $272 million in cash and a generic medication that can reverse the effects of an overdose, the states unveiled Friday.