Is repeating Econ course a really bad thing?

Most university require 2-3 years of social studies, some recommended 4 years. But my goal is top 30, STEM major. I don’t want my application failed because I took 3.5 years of social study.