Define "work right".
If you mean "will the engine start and run long enough for me to finish the job properly by using a scan tool to set the cam sensor-to-crank sensor synchronization" I'd say your chances were pretty good.
If you mean "will the distributor get set back in place so perfectly I can drive for thousands of miles without needing to use a scan tool to synchronize the sensor outputs" I'd say your chances are approximately zero. Part of the issue is that you don't know if the sensor signals are within spec BEFORE you yank the distributor. You could be out-of-spec now.