Yes. That will satisfy every single US university even if the HS offers Spanish VI, which is exceptionally rare
Not saying I know everything, but I’m aware of zero colleges that require more than 2 years in HS, and even those I can count on one hand. I’m happy to learn of exceptions