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.
Sales on which losses are disallowed because you recover your market position within a 61-day period.