Here's the comment about 'Shazam', which appeared on a DC Comics blog post from 12-23-14 -
"For fans who were hoping to see a DC Cinematic Universe similar to what they’ve seen from other publishers, one that included super heroes other than Superman or Batman, there didn’t seem to be a lot to talk about.
That changed on October 15, 2014, when Warner Bros. revealed a full slate of ten DC Entertainment feature films all set within the same universe." - Tim Beedle
Since 'Shazam' was among the ten movies announced on 10-15-14, we know from the statement above the movie does indeed connect to the other 9 titles.
'Shazam' opens April 5, 2019.
Check out the full story, courtesy of Screenrant, at the link below.
DC Confirms: ‘Shazam’ IS Part of ‘Justice League’ Movie Universe
'via Blog this'