Yeah, that is the knock sensor. It has a green harness on it. It doesn't go into the head though. It is right under where the head and block meet. Those aren't cheap. It sounds like you are having the same exact problems than I did with this project.