The past tense of code switch is code switched.
The third-person singular simple present indicative form of code switch is code switches.
The present participle of code switch is code switching.
The past participle of code switch is code switched.