There are certain circumstanses where you can avoid the capital gains from selling within two years. (I believe that having to sell because of a job change is one- Talk to your accountant) Your question about buying a new property no longer has relavance. Under the old law you had to buy another property within, I think 2 years of the sale of the old one, then could roll over the gains until you got a one time exclusion after age 55. But those conditions no longer apply.
What if I buy another residence that is worth more than what I paid for the previous one? In other words, is there a away I can pay NO taxes on the gains?
That law was changed I believe in 1987, Now the 2 year rule applies with an exception of move because of job or job transfer. Seek advise of a CPA.
You don’t have much profit to avoid tax on here. Purchase price plus purchasing costs subtracted from selling price minus selling costs minus any improvements you made. This leaves only a small amount of profit that is taxable. Like I said seek professional tax advise from a CPA