03 Chevy Cavalier

my car has a really random problem!!! sometimes my car just wont start… i put the key in the ignition and it makes a click sound…the lights and radio come on the car just wont start…sometimes i wait 10 min and it starts and other times i wait hours for it to start…sometimes i can go days with it starting everytime and sometimes it wont start at least once a day…I took it to the shop and they replaced the ignition switch, starter, fuel filter, fuel pump, battery, and fuel injector. NOTHING IS WORKING! the shop gave up on my car…Im at a loss… HELP!!!