A substitute paraprofessional was arrested inside a Brooklyn charter school and charged with attempted murder and weapons offenses in connection with an October shooting investigation.