Tom gave Ralph a lift to school so *he* wouldn't have to walk.

Do "Tom" and "he" have the same meaning?
no