I'd Thoroughly check the wiring loom especially where it goes through the bulk head. could well be chaffed through somewhere or rotten connection.
Also, you say the fuel pump works etc have you had the fuel pressure and regulator checked? I had the same fault on my saph a few years back and I found the regulator return to the fuel tank was blocked, would run then cut out...replaced reg all good