My passenger carpet was wet months ago on my 96 Ranger and I found out it was the windshield when it rained. So I caulked with clear caulking under the trim on the lower corner and never had a problem since. Here is the thread when I had the problem.
https://www.ford-trucks.com/forums/8...fter-rain.html