It is from the family of serviceberries which has various names, e.g. "wildplume", but I am not certain about the species. In any case they seem to be eatable raw and cooked, but I have not tried it myself.
I am inclined that it may be Amelanchier ovalis:
Its pome fruits are edible and can be eaten raw or cooked.