NASCAR Cup team losing a charter confirms its driver for 2027