In this paper, we address the finite-time and fixed-time synchronization of a general class of switched neural networks (SNNs) with time delays subject to stochastic disturbances. Considering two types of switching in this class of SNNs: 1) intra-SNN state-dependent switching and 2) inter-SNN Markovian switching, we develop three control laws and derive three sets of sufficient conditions for both finite-time and fixed-time synchronization of SNNs subject to stochastic disturbances. We make two remarks on the effects of control-law parameters on synchronization settling time. Moreover, we derive several upper bounds of synchronization settling time and evaluate their pros and cons. Finally, we elaborate on two numerical examples to illustrate the viability of the theoretical results.