An online sting operation led to felony charges against four men accused of trying to meet a minor for lewd purposes.