TX doesn't have income tax, you need to file NY part-year resident return.
TurboTax handles part-year returns, but you need to make sure you've set up your personal information correctly.
Sign in to TurboTax and select My Info.
A Your personal info screen appears.
Question number 2 asks you the state(s) you lived in during 2023. Select your state of residence from a dropdown menu.
You'll also be asked if you lived in another state in 2023. Answer Yes and a new section will appear asking for your previous state of residence. Select the other state you lived in.
Fill out the date of when you moved to your current state.
Please follow the instructions in the link to allocate your income correctly: