That would be "Bir kazaydı." "olmak" basically means "to happen" or "to become." Sometimes, in different tenses and contexts, it can also have the meaning of "there is/was/has been/etc." It isn't the verb to be, but it sometimes has some similarities.