Why does your Chevy Celebrity miss and do it even worse when the speedometer starts working?

That sounds like a problem within the engine control module or possibly the wiring,