Will UCSD give me priority if I have completed 4 classes at a San Diego community college?

Unlike CSUs, UCs general give no ‘local’ preference. Assuming no change in your academic performance (and ECs) the move will neither help nor hurt.