My car clicks when you try to start sometimes.5 or 6 trys are needed sometimes. on 1995 Ford Thunderbird SC

I put a new starter on put the problem came back.also when the car warms up it misses bad.this does not happen when the engine is cold.i replaced all electronics.mass sensor crank sensor cam sensor.when warm putting in neutral
Doesn't stop it from cutting off at lights

Asked by for the 1995 Ford Thunderbird SC