Having informed my brother of his 2006 golf issue - exactly the same , shut off while driving etc - it turned out to be a bad ECU which had grounding issues. We only found this out after using a scantool.
So , I would be inclined to get to a professional with a proper honda OBD2 scantool and look for errors , and if possible look at a replacement ECU or reprogrammed unit