An already weak battery and or corroded wires/terminals can do this to you.
I fixed my brake switch again after 5 months, drove it for a day, then it was slow to start, then wouldn't crank at all. All kinds of relay clicking started when I couldn't crank it. I cleaned off all the corrosion...