i dont know that i would mess with the timing, other than to time it just to know what you are running. you might not want to introduce another variable, unless your timing is insane.
i would continue to eliminate/try things to diagnose this (and articulate these things to us).
like, i have had cars that marginally idled as it was, and if turning and hitting the brakes, the thing would try to die out. this only happened at night - i chalked it up to electrical load ( i did not want to mess with the IAC, as the puter tries to lower the idle and gets funky. bad surging. BTW, not a stang).
the IAC is the cylinder deal on the front of the TB. it is what allows air into the motor when the butterfly is closed. it should kick the idle up when the a/c is on (why i asked). it can be checked with a dwell meter, but that is impractical. most just clean it.
you should disconnect the battery after adjusting it, to zero out the puter.
i might try messing with the idle if you feel like it (or you have done it before and it is not original). quick version: warm motor. adjust the idle with the screw. once happy, reset the TPS to <0.97 volts.
disconnect battery and drive.
for a vac leak: a stock-ish motor should have around 15-20". a vac gauge and driving around will let you know how it is doing.
just my late night ramblings. good luck.