The process of claiming the tax credit/refund is to file the income tax return pertaining to the year in which such TDS has been deducted or paid.
In your case, you sold the property few years ago, which means the TDS would have got deducted in the past year. You could claim the same only in the income tax return of that year. If you have already filed the return for that year without claiming this, then you need to revise. But since the dates of revision have also gone time barred, then in such case, the only option left is to file the rectification.
For rectification also, there is a time limit of 4 years. If the same is still available, then you may go ahead.