2001 nissan sentra 2.0

Car misses when it reaches operation temp and is in a lugging state like going uphill with it staying in overdrive or sitting at a red light that’s when It does it the most. I’ve changed the entire distributor along with cap, plug wires and rotor