There are many coaches in College Baseball, outside of the Ivy, Patriot, and HA D3's, who will discourage STEM majors once a kid gets on campus. Baseball needs to come first in those programs. And with coaching changes & philosophical changes in programs, it is difficult to stay on top of which programs are good for STEM majors.
I would have a prospective recruit ask a lot of questions, and carefully examine rosters. Chances are, if there aren't any STEM majors on a roster, your kid is unlikely to become the first.
Exceptions might be if the kid is just so freaky smart that they can easily handle the academic load of being a STEM major in as many hours a day as the rest of the roster puts in on their school work. Or, if you are a pitcher throwing 95+, the coaches might be willing to look the other way if you have to miss some practices due to academics.