A Virginia man accused of trying to carjack a vehicle with two young children inside before being fought off by one of them pleaded guilty Monday.