The TCC should already disengage when slowing down, before even applying the brakes, so i wonder if the brake switch would cause any problem here.
There is no fault code set in the PCM? It could be that the TCC is dragging, but the problem could also be with the idle control system.
JEEP Grand Cherokee 4.7 Lmtd 2004
HID 8000K in low and fog / Quad Squad member
KYB Gas-a-Just shocks / Pirelli Scorpion ATR 245/65/17 - Transgo reprogramming shiftkit.