Wareham police arrested five people yesterday in connection with a shooting Friday night that left a man seriously injured. Dominic Rezendes, 20, of Wareham, allegedly shot the man twice during an altercation at 56 Longwood Ave. After police determined that Rezendes was the suspect, they staked out his apartment and saw him leave it.