Toyota will expand its Buffalo plant to make gears for automatic transmissions produced there, transferring the work from Japan.