Possibly a plugged (internally or externally) radiator. your A/C condensor is located in front of your radiator, and generates alot of heat of its own, when you turn on the A/C, your putting that heat directly through the cooling system. the radiator and coolant cant circulate fast enough to cool properly. when you turn off the A/C, incomming air flow cools just enough to bring your water temp down.