When you go to school for your master's degree do you continue with the same major from your 4 year?

You do not have to continue in the same major as your four year degree.

If your Master's field is very different, you most likely will need to take some courses that give you the knowledge you will need for the new major you are selecting.