Because the stock loss produced a tax benefit to you, the recovery is taxable. The question is whether you report the recovery as a capital gain (since you took a capital loss) or as ordinary income. Under the “origin of the claim doctrine,” it appears that the recovery can be treated as capital gain even though the lawsuit recovery isn’t a sale or exchange. But the IRS has not ruled definitively on this exact situation.
Source: https://taxprof.typepad.com/taxprof_blog/files/2005-16770-1.pdf
A fixed deduction allowed to every taxpayer, except those who may be claimed as a dependent by another person. Extra exemption deductions are allowed for a spouse on a joint return and for each qualifying dependent. A deduction of $3,400 is allowed for each exemption claimed on 2007 returns, but the deduction is phased out for certain high income individuals.