BALTIMORE — A veteran cybersecurity specialist for the National Security Agency and other intelligence organizations, accused of taking thousands of secret documents home over two decades, has decided to plead guilty later this month to a single charge that could carry a 10-year sentence.