NBC: Man federally charged after firing shots outside New York synagogue, officials say