Rollover of Gain From Stock Sold to ESOPs or Certain Cooperatives
You can postpone all or part of any gain from the sale of qualified securities, held for at least 3 years, to an employee stock ownership plan (ESOP) or eligible worker-owned cooperative, if you buy qualified replacement property. See Pub. 550. Also, see the Instructions for Form 8949, columns (f), (g), and (h).