Welcome to Fluther.
The answer to your topic question is “yes”. The long A sound is heard when pronouncing either of these words, and additionally another homonym that you didn’t include in your example: “pare”.
The long A sound is the same as the name of the vowel. That is “A”, not “Ah” or any of the other variations in sound that it can have.
Note that the word “pear” is somewhat unusual (except that it’s the same as “wear” and “tear” – when the tearing is referring to the way materials such as paper or cloth can tear), because usually in such words the first vowel is sounded long, such as “tear” when it’s a tear from your eye.
Good luck with your study of our funny language.