Is it a bad idea to do a math major?

A suggestion, to see if it’s a good fit for you: take a look at the required math courses for the major at the university to which you will be transferring. Do you have the pre-reqs?