is it hard to switch majors?

It depends on the college. Some colleges have the same admission standards across all majors, others do not. It the college admits by major it is impossible to switch majors until the end of freshman year and even then it is competitive. For example if you are admitted to Carnegie Mellon as a history major it is virtually impossible to transfer to computer science even after freshman year.

Again it depends on the college.