A lot of effort is required to break a femur and it will take time to heal. You rehab should be guided by the healing of the bone and your surgeon should be informing you of this.
Your ability to run depends on your weight bearing. A typical time to wait before allowing full weight bearing and running post femur fracture is around 10-12 weeks post injury. This depends on what your surgeon says however.
Returning to sport is generally 12-24 weeks.