backstory:
1989 xj aw4 trans swapped into 1987 yj with 4.2L
shift linkage for yj modified to operate aw4 shift cable
1989 xj trans wiring harness and tcu used
the trans will shift to park, reverse, neutral, 1st/2nd with the tcu connected, and using a 1989 xj trans throttle position sensor. 4.4v idle, 0v full throttle
the trans will not upshift from 1/2nd with everything connected, either automatically or manually with shifter
checked shifter position switch by ohming out 8 pin black trans connector all check ok. transmission recognizes the gear the shifter is in.
disconnected tcu main connector, drove jeep, will manually shift through all gears using shifter, including 3 and 4th gear.
my dilemma is how to make the trans shift automatically.
the trans working through the gears with tcu disconnected leads me to believe all the trans solenoids work.
my thoughts and what i will check later is that the transmission speed sensor is either not working or has a bad wire.
oh and i did get the throttle valve cable hooked up and adjusted properly as well.
for reference this swap is not on a standard 87 yj, it has a tbi(chevy s-10) engine controls so the tps from the chevy requires 0v idle and 5v full throttle. I hooked up a second tps for the trans.

in the garage. the speed sensor was still disconnected. 
