Typically, what happens is generic products are coming on the market 10, 15, or more years after a new medication. Typically, if there have been problems with the medication, that generally has been brought out.
I'm not aware of any case where someone has been sued for getting a generic as opposed to a brand, or anything like that.