What kind of electronics (if any) would stop functioning if earth's magnetic poles suddenly switched places?
Besides magnetic (not gyroscopic) compasses and other sensitive magnetic field detectors?  Not much.  However, I would be more worried about HOW the poles got swapped around.  My guess is that we would spend some period of time with very little magnetic field.  This would have far more serious consequences.