Help, car keeps dieing

Nowadays almost all auto supply stores have a tester. If the regulator tests good the next thing to do is have the alternator tested.

Save a trip, take both regulator and alternator in for a test. If they check out, reassess wiring & connections.