A NSW government worker has been charged after allegedly accessing and downloading thousands of sensitive documents.