Yes — assuming it isn't satellite or a poor DSL line, that's an excellent connection for any online game.
For shooters specifically, though, speed isn't the number that matters most. Latency and stability do: a 10 Mbps line with a 20 ms ping and no jitter will outperform a fast connection with packet loss every time. Run a speed test that reports ping, use a wired Ethernet connection rather than Wi-Fi where you can, and your 40/4 is more than enough.