So I’ve been haveing this problem with my 1999 legacy gt for a few days now. I was driving my car around with some aggressive drive and as I’m climbing a small hill at 55 the car misfires. And then it starts misfireing left and right so bad to the point I had to pull over because I thought I was going to break an axel. After pulling over the engine sputtered for a few minutes and died and would not start and stay running. I was able to limp the car home but the engine still misfire every now and again. This it where it gets weird. When the engine wasn’t running like crap you could take it all the way to redline without a problem and then for no ruyme or reason it would misfire. I check fuel pressure before and after the filter and both where good. After some research I replaced the crank position sensor and the car ran right as rain. I put 60 ish miles on the car and the problem returned and I can not for the life of me figure this problem out. Some help would be greatly appreciated