Toyota Sienna Transmission - Error code PO770

my daughter’s’99 sienna w/150k lost 1st and 2nd. autozone employee gave the computer a dope-slap and it regained 1st and 2nd. dealership says trans needs to be rebuilt. i’m wondering if it’s just a computer glitch. any references or directions i might look?