Welcome to JustAnswer.com! My name is DriveFast71(Ron) and I will do my best to answer all of your questions completely and accurately.
The P1361 is fairly common on these vehicles, and points to a fault in the TDC (aka Camshaft Position) Sensor. When faulty, the sensor will cause a "no spark' or "erratic spark" situation, and cause the symptoms you describe. Inspect the wire harness and electrical connector for any loose, broken or rubbed through wires. If the visual inspection checks ok, suspect a faulty sensor, and replacement should sovle the problem.