No, Shadow and Sonic aren't brothers. They're rivals, and that's really the heart of their dynamic.
Shadow was created by Professor Gerald Robotnik aboard the Space Colony ARK, giving him a very different origin. Sonic's own past, meanwhile, remains largely a mystery. So while they may look somewhat alike, their stories couldn't be more separate.