Can I switch majors after declaring?

Want to declare DS by end of spring then take 70 over summer and declare CS if I get a sufficient grade