however TAG does not confer eligibility into a number of STEM (and STEM-adjacent, like medicine) programs within many highly competitive departments at the UC system.
For example the neuroscience programs at UCSD do not automatically accept TAG applicants, you have to be qualified by the program's own rubric regardless of securing a TAG spot for the school itself.
Once you complete your lower division prerequisites passably (typically after two or so years), you can then declare your major as a CS degree.
This isn't the case for College of Engineering which houses the EECS program (while sharing the same department as CS, confusing I know), wherein admissions are more selective, but you don't need to declare your major. You also have the advantage of already being in the program, which helps with registering for courses (especially upper-division courses, which typically only have a small number of slots reserved for non-majors).