07 420 rancher no spark

No codes or warning lights, fuel pump works, relays click but no spark. The coil has power on both terminals but the G/Y wire isn’t getting the intermittent ground signal from the pcm. The other weird thing I found is that the engine will crank in any gear, 1-5 and reverse. The machine is actually cycling through all gears properly and displays each on the dash.