It depends on the nature of the settlement you received.
Some settlements are taxable while others are not.
Please read the following IRS documents regarding settlements and their taxability:
https://www.irs.gov/pub/irs-pdf/p4345.pdf