As a F-1 visa holder, you are considered as "exempt" meaning not counting days for five years starting from the year your first arrived in the United States. After the five years period, you will start counting days by using the Substantial Presence Test SPT to see if you qualify to be treated as a US resident for tax purposes.
In your situation, if you fall into the above assumption, and you stay in the US mostly during 2017( see SPT), you are considered as a resident for tax purposes. Therefore, by filing a Form 1040 with TurboTax is correct.