Hi!
I’m a young guy from Maine who doesn’t know too much about vehicles. I just bought a 1998 Ranger w/ 90k miles and it needs a little work. It has been running fine, just a little underpowered. It was showing codes P0171 and P0174. I would have preferred to fix the problem before putting too many miles on it, but I needed to use it to move residences, so i’ve put 2k on it since buying.
It has started to idle roughly, and it has trouble picking up gears when I accelerate smoothly. The engine shakes briefly before the gear shifts.
I replaced the battery, as it was old and causing corrosion to build on the terminals. I cleaned the terminals off.
My stepfather suggested that the ignition coil is going bad, so I took it out, cleaned off the dust and any carbon build-up, sanded off some rust from the grounds, and put it back in. Unfortunately, I’m an idiot and I connected the ignition coils incorrectly and when I turned the engine there was a loud thunk. I turned it off immediately and realized my mistake. I fixed the connections and now a certain hose is leaking, and I don’t know what it is or what is leaking.
I’m thinking of taking it to a mechanic for a diagnosis but I thought I’d ask reddit for an opinion first.
so tldr is that i need help identifying the circled component in the engine bay