You have to include all grades received for UC transferable courses which would mean the UCR courses. Yes, you can TAG to UCI and reapply to any of the UC’s if you meet the GPA and course requirements for TAG and if you left UCR in good standing.
Below is the UC Transfer GPA by major and campus admit data from 2020 to gauge your chances: