You don't need change it if it is really that expensive. The knock sensor tells the computer to adjust the fire timing, nothing else. This back is hardly break, usually last as long as engine, this is why it is so expensive.
Even hard to find an used.
One thing is rediculous from the garage: the installation takes about 10min, not 1 hour.