Minnesota professor accused of illegally purchasing guns