Is there a time frame in the state of PA of a speeding ticket in which it will expire?

No. A ticket is notification that you have violated the law and are going to be held accountable for it. It does not automatically expire, but they may stop trying to collect on it. But it will always be on your record.