This type of transaction is considered as a capital gain or loss, as previously charged off debts are partially or fully recovered. It will be reported on Schedule D in your tax return.
Here's how to enter a 1099-B:
https://ttlc.intuit.com/replies/4789365