Hello.

That sounds like a dead battery. It could be that the battery is no longer able to hold a charge, or, it could be that the charging system is not doing it's job. If you were driving the car and it died on you, and, it turns out that the battery is dead, that sounds like a charging system problem. The alternator is what supplies power to the car when the motor's running, not the battery. If the motor is running off of the battery until the battery dies, that's a charging system problem. But, to answer your question,

no, that doesn't sound like an ignition switch problem.
