A transition of limiting distributions of large matchings in random graphs