Authorities say a string of recent shooting incidents in public spaces — the latest involving shots fired at the National Security Agency in Fort Meade — may be connected to the same gunman, according to law enforcement sources briefed on the investigation.