5v motor activated by IR remote control (HELP for scientific project on bird's conservation)

Any button?

I don't understand what you mean,
please specify when the pump should start, and what makes it stop again.

There are ready-made 433/866 MHz modules with relays and fobs,
did you consider using one of those?
https://de.aliexpress.com/item/32963153034.html