If it is running fine on CNG then the fault is not electrical. It is Related to Fuel supply system or Injectors.
I also faced slight problem of same nature but it has been resolved after fuel filter change.
Get fuel pressure test done from the dealer, if the needle shows a drop with revs. It means pump is not throwing fuel as per requirement or there is a blockage in the line or injectors.