It may be different for every school, but from my experience... there is no direct cost that you have to pay for switching your major.
Some may say that it costs more because if you switch your majors and have to take additional classes, you will potentially take a longer time at school which will cost more money.
Ask the college counselor to see if they can advise you for specific schools.
From my experience you do not have to pay to switch your major. But like Kayla mentioned here, if you switch later on, you could possibly have to spend more time in college to take more classes to reach the requirements for that major, and that would mean you would have to pay more money.
Most colleges have requirements that every student must take in just about every subject area, so spending your first two semesters taking those courses could help you find an area that really interests you and brings you joy. From there you could work with a professor who works in that department or another student whose major falls in that department for advice on which major you should pursue.
I hope this helps - good luck!