Hello TheTiger6508,
From your description it sounds like you would meet the test of living in the home for 2 out of the last 5 years for the exclusion of gain on the sale of your primary residence. You need to enter the sale as a Sale of A Home so that you will be able to apply the occupancy 2 out of the last 5 years exclusion. While entering this information you will enter the time period it was used as a rental and enter an amount for the accumulated depreciation taken during the time it was used as a rental. If you had an suspended passive activity losses, you will need to enter the suspended losses and ensure they get released to offset other income.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"