Code 77 and can't run CBT.

If the TPS has a bad spot on the resistor element, you could get a 77 code. Connect an analog voltmeter to the TPS and quickly press on the throttle. The voltage should increase smoothly to maybe 1.75-2.5 volts.

Typically, the CBT will not run properly if your IAC (aka IAB) isn't working correctly. If the idle is too low or to high, the CBT won't run correctly either.

Just for reference, and the benefit of others who might read this post, here is the short write up for the cylinder balance test.

Cylinder balance test:
Warm the car's engine up to normal operating temperature. Use a jumper wire or paper clip to put the computer into test mode. Start the engine and let it go through the normal diagnostic tests, then quickly press the throttle to the floor. The engine RPM should exceed 2500 RPM's for a brief second. The engine RPM's will increase to about 1400-1600 RPM and hold steady. The engine will shut off power to each injector, one at a time. When it has sequenced through all 8 injectors, it will flash 99 for everything OK, or the number of the failing cylinder such as 22 for cylinder #2. Quickly pressing the throttle again up to 2500 RPM’s will cause the test to re-run with smaller qualifying figures. Do it a third time, and if the same cylinder shows up, the cylinder is weak and isn’t putting out power like it should. See the Chilton’s Shop manual for the complete test procedure

Here's the link to dump the computer codes with only a jumper wire or paper clip and the check engine light, or test light or voltmeter. I’ve used it for years, and it works great.

See http://www.troublecodes.net/Ford/
OR
See http://www.dalidesign.com/hbook/eectest.html for more descriptive help
OR
See http://www.mustangworks.com/articles/electronics/eec-iv_codes.html