And why did you change the spark plug wire?
The Check Engine Light can be set off by literally 1,000 different things.
You addressed one of them, and I'm going to guess you didn't even bother to have the code read, to see if there was any reason to do what you did.
Since it didn't fix the problem....it would appear that it had nothing to do with spark plugs.