If you sell stock for a large gain in one year, can you later go back and get credit for the tax paid in the earlier year using the claim of right doctrine? Is the claim of right doctrine a mechanism for unwinding a stock sale? The court addresses this in Heiting v. United States,…