Get your taxes done using TurboTax

@Ira2023 ,

The like-kind exchange itself should not cause any gain to be reported.  It simply generates Form 8824.  It gives you the deferred gain as well as the cost basis of your new property.

With respect to the new property, use the cost basis from the Form 8824.

With respect to the old property, do not report that you sold it!  You exchanged it.  If you report that you sold it, you will incur that gain.  Simply take all of the old assets off the market on the date you disposed of the old property.