Is 2 years enough for a bright student who prefers STEM and history?
Depends which schools you are targeting.
Languages are useful for history.
If you’re aiming for directionals, moderately selective universities (think midtier CSU’s, Unc Charlotte, Millersville, Mankato State) yes.
If you’re aiming for selective to highly selective universities, 3-4 years would be expected.