Take over the lawsuit.
When you buy an "entity" like a corporation, you get all their goodies.
For example, when COMM bought Arris, they bought the contingent liability for our lawsuit.
If that were not the case, all lawsuits could be avoided by simply selling the corporation to someone and everyone would do this and there would be no lawsuits.
So, go ahead and dump your toxic waste in the ocean, for example, and when sued, sell your corporation to another corporation.