Most of the writers I know come from a variety of backgrounds: history, journalism, engineering, physics. The common element here is not what you study, but the fact that you learn how to study, to do research, and to synthesize new ideas out of old. The soul of science fiction, and perhaps even all fiction, is to look at a situation and ask, “what would happen if….” Change some variables and see how that makes people react to the situation. So, getting yourself a good grounding in any field of study will supply you with a great background wealth of material to use to build your stories. Then you really just need to start writing and keep writing. Writing is a skills-based endeavor and there is no easy way to become successful at it. Writers write.
Michael A. Stackpole, science fiction author, from his website.