Please see this pinned thread for a nuanced discussion of using AP scores.
P.S. there is no guarantee that retaking a course which you took as an AP classes will allow you to earn an A in that class.
Also be aware that many prestigious colleges do not allow students to use AP credit to fulfill major requirements since they view AP credit/classes as less comprehensive/less challenging than their own classes. (IOW, at many prestigious colleges, you will be retaking coursework regardless of whether you report your AP scores or not.)