Need 545RFE Help

Two people I know have 2002 and 2005 Ram trucks. One is a 5.9 gas and the other is a diesel Both had trans problems that were, a bad pin at the computer connector. I really don't remember which pin(s), it was.