What is between the switch and the light. GFI? Pics of the wiring at that GFI might help. Outdoor gfis can be problematic, especially after seeing corrosion on the rest of the system.