You have BAD "F'n" connections, start at your fuse box that magically starts working when you touch it. It could be bad grounds also, or broken/chaffing wires.
The fuse box is going to have to be inspected closely to make sure everything is safe from short circuits.