Dollar General hit a sales record of $10.44B and is shifting to higher-income products as shoppers tighten budgets amid economic uncertainty.