Safe rpm

Re : 72 340 with a step up in cam. ( po didn't know what) . Probably a dumb question but what is a safe rpm to run at shift points without asking for problems? I realize that something can happen at any speed. Just asking for opinions that would not put undue stress on my engine. I am getting older but not beyond hot dogging a little at times.
Yote