https://www.exeterco.com/article_overview_1031_121_combination
You would sell the property, exclude the $250,000.00 or $500,000.00 in capital gains from your taxable income and complete a 1031 exchange for the balance of the sale transaction to defer the rest of your capital gain, including any depreciation recapture, into the purchase of another like-kind rental property.