Have you tried disconnecting the battery for a few minutes? I realize it may sound odd since you just installed it but it will work sometimes. Remove the negative lead.
If that does not work, attached is the ECU relearn procedure. You will have to get an OBD II scanner to clear codes as part of the procedure.