Physics Junior Year or Senior Year?

Hi, I’m in my 3rd year of HS (Junior) and I was wondering if I should take Physics junior year or senior year? Right now my schedule consists of 3 AP classes (AP Spanish Lit., AP U.S. History, and A.P. Psych), H. English, Alg. 2, and Engineering. Should I replace AP Spanish Lit. with Physics or wait until Senior year (I could also take A.P. Spanish Senior year) or should I stick w/ 3 APs? I’m a California resident aiming for a UC school. Thank you!

Take physics after you complete algebra2 w ie., Senior year.