Ask two horror fans which game scared them more and you will get two different answers. For my money, Dead Space is the stronger and more frightening experience — but that is only my opinion.
I should admit that I have never actually played Doom 3, so I cannot judge it fairly. What I can say is that Dead Space left a real impression on me. Its sound design, the cramped corridors of the Ishimura, and the constant sense that something is just outside the frame do a lot of the work.
Doom 3 built its reputation on darkness and sudden shocks, which is a different philosophy of fear. If you have played both, you are the better judge.