Investors & landlords

There is no carrying over.

Once you sell you owe tax on that capital gain of $3,000. What you do next has no bearing.

It is short term or long term depending on your holding period

2 years is a Long Term holding period.