Solutions to a cubic Schrödinger system with mixed attractive and repulsive forces in a critical regime