I had not flown in six weeks, but today I went out to do several approaches under the hood in my Piper Dakota. After turning the master on, I turned on the fuel pump switch but nothing happened. I checked that the breaker was not tripped and cycled the switch a couple times. No joy. I figured that perhaps the battery was dead so I tried starting it. It started immediately. So I taxied it over to our maintenance hangar on the other side of the airport and shut down. I left the master on and tried the fuel pump again - same result. I then cycled the breaker twice and tried again. It worked. I cycled the switch once more and the fuel pump properly turned off and back on. So I went out and flew. During the course of the flight, I probably had the fuel pump on/off six times. Each time the fuel pressure responded showing the pump was working. After shutting down and getting fuel it worked fine as well. It did sit for six weeks but could be a bad breaker, a loose wire, minor corrosion on the breaker (through the breakers are all new (Klixon 7277) from last October. Any ideas?