Hi, I can help you with this. The most common cause of this in fact is a brake switch. The switch actually has two switches inside of it so the brake lights can work, yet the cruise cancel part of it malfunction.
How can I test it?
Brake Pedal Position Switch Test
The image did not load. one minute please