Rangers edge Rays 4-3 to take lead in ALDS