Not saying the part you got was Counterfeit but a good number of Toyota,NGK and Denso parts are on both Ebay and Amazon.
The usual caveat,"If it's too good to be true..."
Do you have a scanner that has live data and has the car been driven long and far enough to re-learn the ECM parameters?
Any other symptoms besides the light/code?
Maybe you can test the KS thru the harness using a MM.