Deductions & credits

I entered in August 2018 on F1. My H1b would begin this year in October. For federal tax purposes, I am considered as a nonresident alien. But I believe that my status will change in the future when I meet the substantial presence test. Does gift tax and filing form 709 depend on whether I am a nonresident alien or resident alien?