Wow, it has been forever since I've been on this site. Seems like this section is kind of dead, but I'll take any advice I can get. So, over the summer I bought a '91 N/A SW20 needing some help, as a project. I guess I didn't realize what I was getting into

Long story short, my car is finally drivable, but still quite a ways from being able to daily drive. So I turn to you hopefully generous folks.
Main issues:
- No 3rd or 5th gear. Shifter feels sloppy in general; very hard to find gears. Sometimes pops out of 1st gear when taking off. When I bought it, it wouldn't go into ANY gear, the shifter cable was apparently broken. I had a mechanic I know fix it for me, but it's still not right, and I'd rather fix it myself now, just to learn. Could someone link me to info on how the shifter cables work on these cars? I have only ever owned cars with an FR layout so I've never had to deal with shift cables. If I need to replace the cables, where's the best place to get them, and how much do they cost?
- Car runs great at first, but after a while of driving, it struggles to accelerate. Feels like it's running out of gas, but it's not, unless there's something weird going on with the fuel pump. Sometimes it even dies when I step on the gas. If I start it back up, it's fine. I was told the ECU was replaced, so maybe the ECU is bad? Or maybe it's the wrong one?
Any help would be appreciated...I've done a bit of searching, but couldn't find much. Thanks in advance!