2004 Nissan sentra 36,000 miles, stalls when it rains after I stop and then accelerate

2004 Nissan sentra 36,000 miles, stalls when it rains after I stop for a red light or a STOP sign. While pumping the gas, I have to wait a minute or more before it accelerates and moves. It is an automatic. I had a mechanic check the spark plugs and sensor codes. All checked out okay. Car drives fine in dry weather, no stalling. Bought used from out of town.
Mechanic told me to bring it in when it rains. But that’s not safe, because it will stall.
Could moisture, humidity, or air pressure affect sensors?
Please advise… Provide links, if possible… Thank you.

Many people use a spray bottle of water to pinpoint moisture related problems.

If you haven’t changed the air filter try that.

Air filters can get dirty where the debris that it collects absorbs moisture and then restricts the air flow into the engine. Then when you accelerate, the Mass Air Flow sensor doesn’t read enough air coming into the engine so the engine doesn’t accelerate.

Tester

Thx. Tried the spray bottle, didn’t falter. I’ll try your suggestion.
Learned Nissan has 2 class action lawsuits on various models altima, sentra, pathfinder, and quest were named and multiple years with similar problems. Was wondering if my problem could be related, since failure to accelerate was part of the problems mentioned in the lawsuit. Read details at:

http://classaction.kccllc.net/Documents/NNS0001/NNS_NOT.pdf

Thx. Tried the spray bottle, didn’t falter. I’ll try your suggestion.
Learned Nissan has 2 class action lawsuits on various models altima, sentra, pathfinder, and quest were named and multiple years with similar problems. Was wondering if my problem could be related, since failure to accelerate was part of the problems mentioned in the lawsuit. Read details at:

http://classaction.kccllc.net/Documents/NNS0001/NNS_NOT.pdf