What is the temp of the trans when it's "overheated"
I bet you have an overfilled trans, as oil or ATF in this case
does not boil over like water will, it will get dark, smell bad
or burned but not boil over, but an overfilled trans, or if you
used type F fluid instead of DexronIII last time fluid was added
you might be seeing that happen. Type F fluid foams as it runs,
I guess to lube parts up higher in the trans.
When was the last time you added fluid? and was it changed
recently

Wild