No, that switch won't work in your case. It requires an additional wire to the fan in order to control is separately from the light.
But you could use this wireless one instead. It would require installing the receiver module up in the fan housing, in addition to replacing the switch in the wall.
But you could use this wireless one instead. It would require installing the receiver module up in the fan housing, in addition to replacing the switch in the wall.