How do I tell if my ignition switch,key lock or fuel pump is my problem. Car was shutting down while…

How do I tell if my ignition switch,key lock or fuel pump is my problem. Car was shutting down while driving
Started out not warning to start unless ignition was left till fuel pump kicked on.92 Honda civic,5,speed

false