Withdraw Pass from the AP Course.....do I still have a chance?

So last year I was a sophomore and I took an AP Biology Class. First term was easy and I got an A-. However the next term my teacher realized that he didnt cover enough material, so he began assigning so much extra homwork to the point that none of the students could cope with the class any longer. We had a major test every week…To save my 4.0 GPA I was forced to withdraw from the class. I still took the test in May and got a 3.

Now I’m wondering…how much will this WP (withdraw pass) affect my chances of getting into a good university? My GPA is virtually perfect, and I’m hoping to get high SAT scores and passing AP scores

Any advice??