Yes. If you have a few friends that are playing Shield and you find a G-max Machamp, anyone playing either game is able to join you and catch the Machamp.
I don't necessarily have a source, but some YouTubers like Austin John Plays have said this, so I guess that's my source.