The NBC comedy will end with back-to-back episodes on Thursday, titled "Perfect Store" and "All Sales Final."