Spraying electrical contact cleaner in an ignition should not hurt your car. Electrical contact cleaners utilize a special combination of solvents and propellants especially formulated to clean electrical equipment controls, ignition systems, motors, relays and thermostats. The contact cleaner will remove oil and grease and even moisture and dust particles that may be covering and impairing the contact points of a piece of electrical equipment.
Before using the contact cleaner, make sure your ignition is turned off. Once you have used the spray, wait until it has completely dried before turning your ignition back on. Shake the can of contact cleaner well before you spray and do not use the spray on plastics.
Electrical contact cleaner is a nonconductive, colorless liquid that can be highly flammable if placed near fire or other heated surfaces. It can also cause skin and eye irritation and should only be used in well-ventilated areas.