A solid foundation is absolutely ESSENTIAL for any subsequent learning. You will be building a castle of knowledge - any holes in the foundation are SURE to get you - sooner or later. I am an AP Physics C teacher and I can guarantee you that the mastery of content that gets you a 4 on the AP exam is not at par with the mastery that gets you a 5!!
My son took Intro to ECE at Carnegie Mellon after his Junior year (he had already taken both AP Physics exams) - the entire 13-14 wk course and all labs condensed in 6 weeks - and when they were on the material at the very end (Karnaugh maps etc) was the ONLY time that he uttered the words ‘the struggle is real…’. People without the foundational Electricity and Magnetism knowledge had abysmal test scores (<< 50%).
One advice Lenny Pitt (CS Director of Undergraduate Studies) had that might work out well is to take a look at the final exams posted online for any course you want to place out of and judge for yourself.