The actual cause is know to be a bad pressure control solenoid. It gets worse as it heats up by slowing the shifts. You can replace the springs to help make the shifts faster, or you can install a cooler to keep the temps down and prevent it from happening.
Or you can open the trans up and replace the PCS, which is the hardest route but probably most recommended.