I'm going to switch groups for our class' group assignment
Do you have a reason for switching groups?
I don't know, all I know is I want to be in the same group as my crush
That sounds unfair to your group members. It's not okay to abandon them and make them work harder because you want to be with your crush. You should talk to them about it first.
I don't care about my current group. It's best for me to be in the group where I can be close to my crush.
If you feel that way, you should communicate with your group members. They may not mind, but it's better to check in with them since their work load might change.