Sorry about your personal loss. The settlement is tax free to you because it is compensation for personal physical injury. However, if any part of the settlement is for punitive damages, those are taxable.
Eligible taxpayers may claim a tax credit for 10%, 20%, or 50% of up to $2,000 of retirement plan contributions.