Just be aware that the part number being similar doesn't really mean much - they're similar because the parts perform the same function, i.e. they're knock sensors, doesn't make them compatable...
Having said that, there's not much to that style of knock sensor, they're pretty crude. Only issue I'd see is if the alternative part was setup to be more sensitive to a different range of knocking - the filtering of the signal is all done in the ECU though, so as long as it's physically the same size and shape the chances are it'll be fine.
All pretty irrelevant, as that kind of knock sensor doesn't really do all that much...