If the transmission has been rebuilt, I would install rebuilt valve body that has all of the shift solenoids. Check out the images (below). Please let us know what happens.
Repair Safety Notice: This information is for general instructional purposes only. Vehicle repair can be dangerous. Verify all information, follow manufacturer service procedures, use proper tools and safety equipment, and consult a qualified repair shop when needed.