Post a pic of the trans. I couldn't find those numbers anywhere, although 5YP1 does sound like a GM broadcast code.
The 3970010 is correct era and size for a 350. It was used for 3 different engine sizes, the 307,327,350. Gm put engines built on that block in everything they made from 69-80.
Chevrolet Chevy Transmission Identification and DecodingHow to identify and decode chevrolet transmissionswww.nastyz28.com