Yankees get back on track behind rookie pitcher’s gem