You are sorta right, but they aren’t called “pastors.” When a parish has no priest or religious to serve as its pastor, the highest-ranking person in the parish is called a “parochial administrator,” but by “highest-ranking,” I mean purely in an administrative role, not a spiritual role. Even if the parochial administrator happens to be an ordained deacon, he is still not called a pastor.
Thanks for the info.