What subjects are you studying in senior year?
When are you planning to submit your applications to these schools?
Unless you are applying very early, there should be enough time in the beginning of senior year to develop a strong relationship with a teacher. My son’s strongest recommendation for engineering programs was from his senior year AP Physics C teacher.
I am not a professional (unlike many here)… but I believe that 9th grade is too distant in time to work well for an application (and 10th grade is borderline). I would see it differently if you had a continuing connection with the 9th grade teacher, such as helping as an assistant in their classroom.