06 GMC canyon. Will try to give us as much details as possible. Car last Friday suddenly switched key to on position lights on dashboard and headlight came on then suddenly went away would not start. No crank no click looks as if I lost all power no dashboard lights lock/unlock door switch would not work popped hood pulled out the power and starter relay started up fine no problem took to auto parts store replaced the relays also had battery alternator and starter tested all pass. This is second time had tested within a month because had same promblem but just tried to start again no problem. Had problem same problem yesterday lights on dash came on went to crank/start nothing and again lost all power no lights on dash etc checked battery connections and tightness. All good disconnected negative battery cable and started right up. Thinking ignition switch? Am low on funds and would like to hopefully fix in one go and wanted to ask before dropping money please help and thank you in advance.