All you need to do is to create a deposit dated 2024 in QB and assign the deposit to an income account (it's income to you because the customer never cashed the check). Then, the next time you reconcile, clear the deposit against the old outstanding check and you're all set.