My truck was running bad & the engine light came on so i took the truck to the dealer & they pulled the codes & said i needed a new ecm & it was covered under warranty. well i got my truck back today & it runs good except when i put it gear the engine starts to surge & the tach jumps up & down. This will stop if i tap the throttle or if i put it back in neutral & tap the throttle. If i do nothing the engine continues to surge & gets worse. Sometimes if the truck is in part & i stab the throttle quick it will rev very quickly then as the rpms come down it will start the surging. The fuel pressure is fine & the truck runs great at wide open throttle. I pulled the codes & they are p1693 dtc detected in the companion module & p0622 alternator field not switching properly. the shop also replaced the alternator under warranty. does anybody have any idea what this could be like maybe the ecu program,throttle position sensor. sorry so long but im trying to be thorough. thanks for any help... . kurt. :{