Peppers may drop blossoms and not set fruit at air temperatures as low as 85F. But many also germinate best with high temperature (~85F). At 95F, you're into a stress zone.
Another source indicates that night air temperatures above 75F suppress fruit-setting. If this is really all you need to get to, you might be able to do it by moving the plant indoors at night (if potted, and if you have air conditioning), or by misting at night. Misting may cause mold/mildew problems, though.
Also, they need insect (or hand) pollination, so if growing indoors (unlikely in your case!) you need to hand-pollinate.
I'd guess (based on NO info), that if you can keep the soil temperature down it might set some fruit even at 95F air temperature. Once the fruit is set, it will grow even in elevated temperatures. If you get a lot of blossoms at once when it's hot, you might consider removing some. Pruning may also help to allow the plant to get enough water up from the ground. And as I commented above - mulch to reduce soil temperatures and eliminate surface drying. Again - this paragraph is all guesswork!