Okay, this is more complicated than switches and relays. I didn't know what MY your EX was, so I picked a '10 as representative. Refer to the wiring diagram on EC-511 here:
https://www.nicoclub.com/service-manual ... 0%2FEC.pdf
The EX's use a "faux e-Fan" setup where a controller drives a pair of DC fans as if they're PWM-able BLDC (3-phase) units. The ECM requests a fan speed from the IPDM via the CANbus and the IPDM sends a corresponding PWM signal from pin 97 (Violet, see EC-518) to pin 2 of the fan controller. That signal serves both fans, the controller runs them in tandem. That complicates determining the cause of both fans failing, and I'm pretty sure you'll need to catch it in the act to do so. Here are the main possibilities:
1) The Fan Relay could be dropping out. If that's the case, when the fans quit you'll see good battery voltage on pin 3 of the relay but zero or a much lower voltage on pin 5.
2) The Fan Controller ground could be bad and causing the transistors inside the controller to overheat. If that's the case, you'll see a voltage above 80mV (0.08V) on pin 7 of the controller when the fans are operating.
3) The PWM driver inside the IPDM could be failing. You should see a variable voltage on the Violet wire that corresponds to fan speed. If the signal "flatlines" at 5V or 0V when the fans quit, the IPDM is bad.
4) If the above are all ruled out, you probably have a bad Fan Controller that's quitting when it gets hot. Identifix shows those modules to be a fairly frequent failure point on all the cars that used them, G35 and FX35 also.