what causes this on 1990 Subaru Legacy

why is my 1990 subaru legacy wagon ls randomly reving to 5000rpm as i drive.

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer
SEEK A FREE INSP FROM AAMCO SOUND LIKE TRANS ISSUE