I have a 96 legacy 5spd with a ej22e. Not sure if it's the same exact engine but it's gotta be very similar. I bought it with about 150k on it and it started abit rough. With unknown maintenance record I decided to go rite threw the easy stuff and it made a world of a difference. I did the air filter, fuel filter, oil change and filter, spark plugs and wires and new drive belts along with the tensioner assembly. All pretty cheap and easy stuff just a YouTube video away and only basic tools and knowledge needed. I think in total it costed me like $250 and I literally haven't had any issues with it after doing those easy things. Also I used the NGK plugs and wires, simply because I've used them on several other vehicles and trust them. It's also a good idea to look for any fluid leaking anywhere it can possibly leak from, transmission, differential, engine ext. And it's worth taking a peak at the sway bar links, ball joints, and cv shaft boots just to know the current condition. After sitting that long it could cause the rubber boots to dry out and before long crack and fail...