No, they aren't related. Sonic and Shadow are separate characters with entirely different origins. Shadow was created by a relative of Dr. Eggman's, giving him a connection to the Robotnik line rather than to Sonic. So while they share a species and a rivalry, there's no family tie between them.