Double check to make sure you have not crossed any wires. If it is running worse then before and the only thing you did was the wires, I would have to put my money there.
As for the plugs, how long has it been since they were replaced last? If you just bought the car or not sure, then go out and get a set of Autolite APP764's to go along with those new wires.
Other then that, I would be leading you on a wild goose chase since I do not know what engine you have or what your car is.
Here is what the manual has to say, as for possible cause's, of your P0301 & 303 CEL...
Possible causes:
-- Ignition system.
-- Fuel injectors.
-- Fuel pressure.
-- Evaporative Emission System.
-- EVAP canister purge valve.
-- Base engine.
-- Running out of fuel.