I keep getting a p1164 code (air/fuel ratio sensor) I replaced it with a new one but it keeps giving me the same code and now it surges when up speed up. Has anyone had this issue? What can I check? What might have helped you guys?

Thanks in advance