Maybe. A recent study by four University of Michigan researchers tracked college student for several years to see how their college experience affected their “religiosity” (basically, how often they attended religious services, and how important they view religion in their lives). We often think of science and religion as being at odds, but the study found that majoring in science had little effect on students’ religiosity. (More on that in a moment.) A different set of majors proved to be the greatest threat to students’ faith:
Being a humanities or a social science major has a statistically significant negative effect on religiosity — measured by either religious attendance and how important students consider the importance of religion in their lives. The impact appears to be strongest in the social sciences.