Can purchasing replacement property avoid home-sale tax?

Homeowner seeks rental income during retirement