It won't be the water pump, and it's unlikely to be the sensor, although as a matter of course it's worth disconnecting the electrical connector from the top of it and spraying it with connection cleaner.
The fault lies with the thermostat, and this is always confirmed if the temperature needle drops too low when driving at highway speeds. If you buy a new thermostat, try and get a genuine one rather than a pattern part.