We own 4 rental properties. Will we still owe deprecion recapture tax on 1 we sell if we apply all "gains" to the principal balances on 2 of the other rental properties?

Not sure if a 1031 Exchange will work in this situation. But perhaps something else would apply. Or maybe a 1031 would work if we use an LLC?