When it shuts down, do you lose power and all the gauges go dead too? Does it start right up again or does it need to cool down?
Could be completely coincidental to the weather.
I have had ignition switch connector problems cause momentary shutdowns while driving (would come back on it's own or start right back up), and also once a failing CPS that needed to cool down before it started up again.
Neither gave nme codes.
I don't see an O2 sensor having an effect like this at all.
Only other time I had that recurring problem was 20 years ago (in my dreams it was only 20) when I was just out of school and too broke to keep gas in it.