After 8 years with the Realm, Pereira will become the first Latinx director of the New York Public Library for the Performing Arts.