Answer: Yes.
The evidence: In Mario and Sonic at the Olympic Games, take a look during the swimming events. Sonic is the only character wearing a life jacket, while everyone else, Shadow included, goes without one. Since Sonic is famously the one character in that game who can't swim, the fact that Shadow needs no flotation makes it clear that Shadow can, in fact, swim.