Hate to say it, but it sounds like a bad contact somewhere. The fact that everything worked a couple of weeks ago means that the wires are in the right places. The fact that things do not now work reliably means connections.
Check all the connector junctions that are accessible first,(awkward ones can be checked later, if these do not solve the problem) include fuse holders. Also check earth wires.
If these are all OK, the switches are the next port of call.
Good luck and come back if you are still having problems