Is it worth it to take the 4th year of language if that means taking an AP?

Weird school so that means one year in which I took latin doesn’t count. Is it worth it to take AP Latin if you are a stem major. Will it block you out of top schools?

I forgot to mention that I really dislike latin.

If the top schools recommend 4 years, then you should take a 4th year unless you have a valid reason not to. Not taking a 4th year will not disqualify you, but most applicants will have 4 years. Colleges will not view not liking a language as a valid reason for not taking it.

If the schools you want 4 years of foreign language, yes. If the schools you want recommend, yes.

What level have you reached in Latin?
What universities are you aiming for? Do they recommend 4 years?