Okay, that is the crankcase vent for the PCV system and it can easily cause a misfire because it pulls in air that the computer does not "see" with it's sensors. It attaches under the lip of the resonator box in a grommet. (See arrow) It looks like you may need to remove the resonator, clean and replace the grommet to get it to stay because it appears to be loose if it pulled out.
That could easily cause the P0301
P0495 - Cooling Fan High Speed. This is a semi common code on these, It means the cooling fan clutch is failing/failed. A quick test to determine if the clutch is failed would be to open the hood, start the engine, and shut it off, if the fan does no keep spinning a bit after the engine is shut off but instead stops with the engine, the clutch is locked. Another is to try turning the fan immediately after you shut it off. You can still drive it but it will be noisy and will keep the CEL and can cause unwanted wear on other parts.
Wednesday, May 31st, 2017 AT 3:01 PM