1996 3.0l would be Waste Spark so both cylinders 3 and 4 would not fire if it was a Computer or Coil pack issue
But reverse 3 and 4 spark plug wires on the coil pack to be sure its not the coil
"new" just means NEVER EVER tested, so grain of salt on any untested(new) parts
If you have an old time timing light you can put it on #4 wire and see if idle miss is caused by no spark on #4 wire
And don't take the Cam sensor(misfire detector) and computer as "the word of God" on #4 being the cylinder that is misfiring, its just not that accurate
The fact you FEEL a misfire means there is one, but choice is 1 to 6 not limited to #4
By far the most common cause of a misfire AFTER bad spark plug, is a compression issue, exhaust valves run hot and WILL get burnt and leak, that's why every person who's even slightly interested in DIY engine work has heard of "a valve job", it fixes burnt exhaust valves which is the most common mechanical failure on all engines with exhaust valves
If this problem was slowly getting worse and worse then that's the most likely issue, compression
The 3 things that allow a cylinder to fire are
1. spark, at the right time
2. fuel, with air mixed in
3. compression
If you eliminated 1 and 2 as the possible problem, then you are left with #3
Long shot but not a no shot is leaking intake valve guide seals, oil gets sucked in(vacuum in intake) and collects on the back side on intake valve, and is then sucked into cylinder with the air/fuel mix, if there is enough oil then partial or full misfire
Spark plugs tips will tell that tale, darker blackish tip on effected cylinders