A wrongful death settlement of compensatory damages is nontaxable because it is the result of a claim arising from personal physical injury or illness. However, if the settlement includes punitive damages and/or interest, that portion of the settlement is taxable.
On a sale of a principal residence, you may avoid tax under the rules.