State Filing Status During a Move Out of State

My  Texas apartment lease expired in mid-December of last year, and I wanted to move to the Northeast.  I stayed with family members in NH until I decided to make NJ my residence in mid-February of this year.  Do I remain a resident of the state of Texas until I formalized my move to NJ?

 

Also, I submitted a Form 8822 (Change of Address) to use a relative's NJ address to receive any mail during this transient period.  Does this impact the timing of my selecting NJ as my new address?