#include <bits/stdc++.h>
using namespace std;
string ans = "abacaba";
bool check(string s) {
  long long cnt = 0;
  for (long long i = 0; i <= s.size() - 7; i++)
    if (s.substr(i, 7) == ans) cnt++;
  if (cnt == 1) return true;
  return false;
}
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    string s;
    cin >> s;
    long long ck = 0;
    string res;
    for (long long i = 0; i <= s.size() - 7; i++) {
      long long flag = 0;
      string temp = s;
      for (long long j = 0; j < 7; j++)
        if (temp[i + j] == '?')
          temp[i + j] = ans[j];
        else if (temp[i + j] != ans[j]) {
          flag = 1;
          break;
        } else
          continue;
      if (flag == 0 and check(temp)) {
        for (long long i = 0; i <= n - 1; i++)
          if (temp[i] == '?') temp[i] = 'd';
        res = temp;
        ck = 1;
        break;
      }
    }
    if (ck == 1) {
      cout << "YES\n";
      cout << res;
    } else
      cout << "No";
    cout << "\n";
  }
  return 0;
}
